Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001909/0.001909, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.002214/0.002214, allocations: 185.2 kB / 20.73 MB, free: 2.355 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.409/1.409, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.1828/0.1828, allocations: 38.51 MB / 342.5 MB, free: 8.098 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.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.61 kB / 478.6 MB, free: 33.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 61.26 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006268/0.1134, allocations: 4.086 MB / 0.5312 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1152, allocations: 0.9233 MB / 0.5321 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1154, allocations: 11.94 kB / 0.5321 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1156, allocations: 47.5 kB / 0.5322 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.1162, allocations: 187 kB / 0.5324 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1164, allocations: 91.81 kB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.1168, allocations: 402.5 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1171, allocations: 98.19 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1173, allocations: 179.2 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.1177, allocations: 187.3 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.1177, allocations: 20 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.1178, allocations: 20 kB / 0.5333 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1179, allocations: 95.64 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.1181, allocations: 143.3 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.1185, allocations: 286.7 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1185, allocations: 0 / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1185, allocations: 4 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1185, allocations: 0 / 0.5338 GB, free: 10.61 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001097/0.1196, allocations: 0.593 MB / 0.5344 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1197, allocations: 15.89 kB / 0.5344 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.253e-05/0.1198, allocations: 58.73 kB / 0.5345 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1198, allocations: 36.7 kB / 0.5345 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.1204, allocations: 347.1 kB / 0.5348 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1204, allocations: 20.38 kB / 0.5349 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.1205, allocations: 23.94 kB / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.1209, allocations: 290.8 kB / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1209, allocations: 0 / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.121, allocations: 8 kB / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.121, allocations: 4 kB / 0.5352 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.1213, allocations: 184.8 kB / 0.5353 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1229, allocations: 1.24 MB / 0.5365 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1232, allocations: 101.2 kB / 0.5366 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.1233, allocations: 45.77 kB / 0.5367 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1233, allocations: 0 / 0.5367 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1233, allocations: 38.56 kB / 0.5367 GB, free: 7.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1233, allocations: 0 / 0.5367 GB, free: 7.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008395/0.1242, allocations: 493.2 kB / 0.5372 GB, free: 6.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1242, allocations: 81.09 kB / 0.5373 GB, free: 6.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1245, allocations: 250.6 kB / 0.5375 GB, free: 6.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1245, allocations: 29.7 kB / 0.5375 GB, free: 6.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1246, allocations: 204.1 kB / 0.5377 GB, free: 6.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1247, allocations: 39.69 kB / 0.5378 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.1247, allocations: 41.7 kB / 0.5378 GB, free: 6.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1249, allocations: 334.8 kB / 0.5381 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.1249, allocations: 36.59 kB / 0.5382 GB, free: 5.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1251, allocations: 139.8 kB / 0.5383 GB, free: 5.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.1253, allocations: 192.6 kB / 0.5385 GB, free: 5.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1253, allocations: 0 / 0.5385 GB, free: 5.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003238/0.1257, allocations: 217.5 kB / 0.5387 GB, free: 5.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1257, allocations: 8 kB / 0.5387 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1257, allocations: 4 kB / 0.5387 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1257, allocations: 4 kB / 0.5387 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1259, allocations: 43.92 kB / 0.5387 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1259, allocations: 4 kB / 0.5388 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.126, allocations: 11.94 kB / 0.5388 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.126, allocations: 15.97 kB / 0.5388 GB, free: 5.078 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.1262, allocations: 153.7 kB / 0.5389 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.1262, allocations: 27.89 kB / 0.539 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.1265, allocations: 131.3 kB / 0.5391 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1265, allocations: 4 kB / 0.5391 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1265, allocations: 0 / 0.5391 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1265, allocations: 3.938 kB / 0.5391 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.1271, allocations: 483.2 kB / 0.5395 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1271, allocations: 0 / 0.5395 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.1272, allocations: 23.92 kB / 0.5396 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1272, allocations: 8.031 kB / 0.5396 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1272, allocations: 3.938 kB / 0.5396 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1272, allocations: 4 kB / 0.5396 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1272, allocations: 0 / 0.5396 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.1276, allocations: 277 kB / 0.5398 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.1276, allocations: 101 kB / 0.5399 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1277, allocations: 12 kB / 0.54 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1278, allocations: 0 / 0.54 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.1278, allocations: 7.984 kB / 0.54 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1278, allocations: 4 kB / 0.54 GB, free: 3.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.128, allocations: 174 kB / 0.5401 GB, free: 3.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.128, allocations: 0 / 0.5401 GB, free: 3.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1283, allocations: 44 kB / 0.5402 GB, free: 3.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007003/0.129, allocations: 0.8228 MB / 0.541 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1292, allocations: 108.6 kB / 0.5411 GB, free: 2.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1292, allocations: 4.312 kB / 0.5411 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.1293, allocations: 47.8 kB / 0.5411 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1298, allocations: 63.27 kB / 0.5412 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.1327, allocations: 2.442 MB / 0.5436 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1331, allocations: 0.7675 MB / 0.5443 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1332, allocations: 34.28 kB / 0.5444 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1333, allocations: 87.34 kB / 0.5444 GB, free: 14.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1333, allocations: 0 / 0.5444 GB, free: 14.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.1626, allocations: 4.641 MB / 0.549 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.487, allocations: 10.89 kB / 0.549 GB, free: 10.42 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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: 11.324958739802241]