Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001696/0.001696, allocations: 124.3 kB / 17.79 MB, free: 5.121 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.001887/0.001887, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.47/1.47, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.1823/0.1823, allocations: 38.51 MB / 342.5 MB, free: 8.059 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 62.81 kB / 478.6 MB, free: 33.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1007, allocations: 61.26 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005289/0.106, allocations: 3.454 MB / 0.5306 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1083, allocations: 1.457 MB / 0.532 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1084, allocations: 7.938 kB / 0.532 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.1093, allocations: 263 kB / 0.5323 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.1099, allocations: 282.9 kB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1103, allocations: 107.7 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1108, allocations: 347 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.1111, allocations: 105.9 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1113, allocations: 155.4 kB / 0.5332 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1116, allocations: 159.4 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1116, allocations: 16 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.1121, allocations: 319.2 kB / 0.5337 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1122, allocations: 103.7 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1123, allocations: 111.5 kB / 0.5339 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004934/0.1128, allocations: 342.8 kB / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1128, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1128, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1128, allocations: 0 / 0.5342 GB, free: 10.15 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000764/0.1136, allocations: 0.5216 MB / 0.5347 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1136, allocations: 11.89 kB / 0.5348 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.1137, allocations: 54.73 kB / 0.5348 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.1146, allocations: 92.69 kB / 0.5349 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.1149, allocations: 275.3 kB / 0.5352 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.115, allocations: 12.38 kB / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.115, allocations: 15.94 kB / 0.5352 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.1155, allocations: 322.2 kB / 0.5355 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1155, allocations: 0 / 0.5355 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1156, allocations: 8 kB / 0.5355 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.1156, allocations: 19.98 kB / 0.5355 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.116, allocations: 291.7 kB / 0.5358 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1179, allocations: 1.289 MB / 0.5371 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.1185, allocations: 193.2 kB / 0.5372 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1186, allocations: 69.62 kB / 0.5373 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1186, allocations: 0 / 0.5373 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1187, allocations: 38.62 kB / 0.5373 GB, free: 6.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1187, allocations: 0 / 0.5373 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009825/0.1197, allocations: 430.8 kB / 0.5378 GB, free: 6.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.1197, allocations: 85.05 kB / 0.5378 GB, free: 6.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1199, allocations: 198.2 kB / 0.538 GB, free: 5.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1199, allocations: 29.7 kB / 0.538 GB, free: 5.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1201, allocations: 160.2 kB / 0.5382 GB, free: 5.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1201, allocations: 55.53 kB / 0.5383 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.1202, allocations: 41.92 kB / 0.5383 GB, free: 5.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1203, allocations: 334.8 kB / 0.5386 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.1204, allocations: 59.94 kB / 0.5387 GB, free: 5.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1206, allocations: 140.8 kB / 0.5388 GB, free: 5.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.1209, allocations: 233.2 kB / 0.539 GB, free: 4.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1209, allocations: 0 / 0.539 GB, free: 4.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005427/0.1214, allocations: 262 kB / 0.5393 GB, free: 4.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1215, allocations: 4 kB / 0.5393 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1215, allocations: 4 kB / 0.5393 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.1217, allocations: 41.27 kB / 0.5393 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1219, allocations: 55.84 kB / 0.5394 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1233, allocations: 1.441 MB / 0.5408 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1234, allocations: 8 kB / 0.5408 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1234, allocations: 8 kB / 0.5408 GB, free: 2.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1236, allocations: 157.7 kB / 0.541 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.1236, allocations: 23.84 kB / 0.541 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.124, allocations: 192 kB / 0.5412 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.124, allocations: 4 kB / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.124, allocations: 0 / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.124, allocations: 0 / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.125, allocations: 0.5641 MB / 0.5417 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.125, allocations: 0 / 0.5417 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.1251, allocations: 19.98 kB / 0.5417 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.1252, allocations: 32.78 kB / 0.5418 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1252, allocations: 11.98 kB / 0.5418 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.1265, allocations: 1.43 MB / 0.5432 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1265, allocations: 160 / 0.5432 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.1269, allocations: 309.5 kB / 0.5435 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.127, allocations: 97 kB / 0.5436 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.127, allocations: 8 kB / 0.5436 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1271, allocations: 0 / 0.5436 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.1272, allocations: 23.86 kB / 0.5436 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1272, allocations: 4 kB / 0.5436 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1273, allocations: 140.3 kB / 0.5437 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1273, allocations: 4 kB / 0.5437 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1277, allocations: 52 kB / 0.5438 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/0.1285, allocations: 0.8335 MB / 0.5446 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.129, allocations: 258.4 kB / 0.5448 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.129, allocations: 0 / 0.5448 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.1293, allocations: 171.7 kB / 0.545 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1297, allocations: 30.59 kB / 0.545 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1329, allocations: 2.397 MB / 0.5474 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.1333, allocations: 0.7554 MB / 0.5481 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1335, allocations: 41.52 kB / 0.5482 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1336, allocations: 63.34 kB / 0.5482 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1336, allocations: 0 / 0.5482 GB, free: 10.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.1641, allocations: 3.946 MB / 0.5521 GB, free: 6.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.22, allocations: 7.094 kB / 0.5521 GB, free: 6.852 MB / 414.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.173867140896618]