Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1841/0.1841, allocations: 38.51 MB / 342.5 MB, free: 8.07 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.88 kB / 478.6 MB, free: 33.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 61.24 MB / 0.5272 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007174/0.1187, allocations: 4.622 MB / 0.5317 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1216, allocations: 1.476 MB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.1218, allocations: 11.94 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.123, allocations: 397.4 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.1237, allocations: 242.8 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.1244, allocations: 243.4 kB / 0.534 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.125, allocations: 0.565 MB / 0.5346 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.1255, allocations: 262.5 kB / 0.5348 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.1259, allocations: 266.9 kB / 0.5351 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.1264, allocations: 331 kB / 0.5354 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.1264, allocations: 39.94 kB / 0.5354 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.1267, allocations: 151.8 kB / 0.5356 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.127, allocations: 227.4 kB / 0.5358 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.1273, allocations: 246.8 kB / 0.536 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.128, allocations: 0.607 MB / 0.5366 GB, free: 7.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.128, allocations: 0 / 0.5366 GB, free: 7.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.128, allocations: 4 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.128, allocations: 0 / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001448/0.1295, allocations: 0.7693 MB / 0.5374 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1295, allocations: 15.89 kB / 0.5374 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.1296, allocations: 90.64 kB / 0.5375 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.1303, allocations: 96.5 kB / 0.5376 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.1311, allocations: 424.2 kB / 0.538 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.1311, allocations: 41.38 kB / 0.538 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1312, allocations: 51.92 kB / 0.5381 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/0.1322, allocations: 0.645 MB / 0.5387 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1323, allocations: 0 / 0.5387 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.1323, allocations: 20 kB / 0.5387 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.1324, allocations: 28.98 kB / 0.5387 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.1332, allocations: 483.5 kB / 0.5392 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.1371, allocations: 3.011 MB / 0.5421 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1374, allocations: 169.1 kB / 0.5423 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1376, allocations: 101.7 kB / 0.5424 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.1376, allocations: 12.27 kB / 0.5424 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1377, allocations: 30.56 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.025e-06/0.1377, allocations: 0 / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001654/0.1393, allocations: 0.8506 MB / 0.5433 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1394, allocations: 93.16 kB / 0.5434 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.1398, allocations: 353.5 kB / 0.5437 GB, free: 140 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1398, allocations: 29.7 kB / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.1401, allocations: 311.8 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1402, allocations: 83.3 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1404, allocations: 86.08 kB / 0.5442 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.1406, allocations: 346.8 kB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.1408, allocations: 120.8 kB / 0.5446 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.1412, allocations: 338.8 kB / 0.545 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.1419, allocations: 0.4972 MB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1419, allocations: 3.938 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001097/0.143, allocations: 0.5488 MB / 0.546 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.143, allocations: 11.94 kB / 0.546 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000545/0.1435, allocations: 279.8 kB / 0.5463 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.1439, allocations: 80.78 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1443, allocations: 99.81 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.1462, allocations: 1.723 MB / 0.5481 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1465, allocations: 15.98 kB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1465, allocations: 24 kB / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.1468, allocations: 221.6 kB / 0.5484 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.1469, allocations: 31.81 kB / 0.5484 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.1474, allocations: 288.6 kB / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1474, allocations: 4 kB / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1474, allocations: 0 / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1474, allocations: 11.98 kB / 0.5487 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1488, allocations: 0.7915 MB / 0.5495 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1488, allocations: 4 kB / 0.5495 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.1491, allocations: 55.91 kB / 0.5495 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1491, allocations: 4.141 kB / 0.5495 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1491, allocations: 4 kB / 0.5495 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.1491, allocations: 4 kB / 0.5495 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.1491, allocations: 7.922 kB / 0.5495 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.1498, allocations: 479.4 kB / 0.55 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.1499, allocations: 104.9 kB / 0.5501 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.1499, allocations: 15.97 kB / 0.5501 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1501, allocations: 8 kB / 0.5501 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.1501, allocations: 23.97 kB / 0.5501 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1502, allocations: 8 kB / 0.5501 GB, free: 9.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.1504, allocations: 235.2 kB / 0.5504 GB, free: 8.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1504, allocations: 0 / 0.5504 GB, free: 8.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.1509, allocations: 92 kB / 0.5505 GB, free: 8.727 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.1519, allocations: 1.019 MB / 0.5515 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008534/0.1527, allocations: 423.5 kB / 0.5519 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1527, allocations: 0 / 0.5519 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1529, allocations: 107.9 kB / 0.552 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1535, allocations: 75.84 kB / 0.552 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.1592, allocations: 3.999 MB / 0.5559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.1597, allocations: 0.8701 MB / 0.5568 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.1601, allocations: 111.2 kB / 0.5569 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.1603, allocations: 147.4 kB / 0.557 GB, free: 1.637 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1603, allocations: 0 / 0.557 GB, free: 1.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.1974, allocations: 7.524 MB / 0.5644 GB, free: 10.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.56, allocations: 4.875 kB / 0.5644 GB, free: 10.25 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.52521094493568]