Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001749/0.001749, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001987/0.001987, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.512/1.512, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.1773/0.1773, allocations: 38.52 MB / 342.5 MB, free: 8.062 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.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.16 kB / 478.6 MB, free: 33.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1163, allocations: 61.25 MB / 0.5272 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006606/0.1229, allocations: 4.113 MB / 0.5312 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1247, allocations: 0.857 MB / 0.5321 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1249, allocations: 11.94 kB / 0.5321 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1251, allocations: 47.56 kB / 0.5321 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.1256, allocations: 167 kB / 0.5323 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1258, allocations: 91.81 kB / 0.5324 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.1263, allocations: 394.5 kB / 0.5328 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1265, allocations: 78.27 kB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.1268, allocations: 195.1 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.1272, allocations: 191.3 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.1273, allocations: 20 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.1273, allocations: 20 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1274, allocations: 83.67 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1276, allocations: 143.3 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.128, allocations: 294.6 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.128, allocations: 0 / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.128, allocations: 4 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.128, allocations: 0 / 0.5337 GB, free: 10.78 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.001191/0.1292, allocations: 0.5969 MB / 0.5343 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1293, allocations: 15.89 kB / 0.5343 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.1293, allocations: 54.73 kB / 0.5344 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.1294, allocations: 36.64 kB / 0.5344 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.1301, allocations: 343.2 kB / 0.5348 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1301, allocations: 16.81 kB / 0.5348 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1302, allocations: 39.92 kB / 0.5348 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.1307, allocations: 294 kB / 0.5351 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1308, allocations: 0 / 0.5351 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1308, allocations: 8 kB / 0.5351 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1308, allocations: 11.98 kB / 0.5351 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.1311, allocations: 187.8 kB / 0.5353 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1328, allocations: 1.28 MB / 0.5365 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1332, allocations: 119.9 kB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.1333, allocations: 38.56 kB / 0.5367 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1333, allocations: 0 / 0.5367 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.1333, allocations: 50.44 kB / 0.5367 GB, free: 7.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1333, allocations: 0 / 0.5367 GB, free: 7.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001082/0.1344, allocations: 0.5282 MB / 0.5373 GB, free: 6.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.1345, allocations: 102.8 kB / 0.5373 GB, free: 6.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1348, allocations: 246.6 kB / 0.5376 GB, free: 6.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1348, allocations: 33.95 kB / 0.5376 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.135, allocations: 200 kB / 0.5378 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.135, allocations: 43.62 kB / 0.5378 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.1351, allocations: 49.64 kB / 0.5379 GB, free: 6.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1353, allocations: 330.8 kB / 0.5382 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.1354, allocations: 43.97 kB / 0.5383 GB, free: 5.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1356, allocations: 139 kB / 0.5384 GB, free: 5.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1359, allocations: 187.8 kB / 0.5386 GB, free: 5.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1359, allocations: 0 / 0.5386 GB, free: 5.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005485/0.1365, allocations: 234.3 kB / 0.5388 GB, free: 5.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1365, allocations: 12.03 kB / 0.5388 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1365, allocations: 4 kB / 0.5388 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.1367, allocations: 28.78 kB / 0.5388 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.137, allocations: 59.89 kB / 0.5389 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.137, allocations: 4 kB / 0.5389 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1371, allocations: 8 kB / 0.5389 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1371, allocations: 12 kB / 0.5389 GB, free: 5.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.1373, allocations: 149.9 kB / 0.5391 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.1374, allocations: 31.78 kB / 0.5391 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.1377, allocations: 143.3 kB / 0.5392 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1377, allocations: 7.938 kB / 0.5392 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1377, allocations: 0 / 0.5392 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1377, allocations: 3.938 kB / 0.5392 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1381, allocations: 289.5 kB / 0.5395 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1381, allocations: 0 / 0.5395 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.1383, allocations: 31.98 kB / 0.5395 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1383, allocations: 4 kB / 0.5395 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1383, allocations: 0 / 0.5395 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1383, allocations: 8.484 kB / 0.5396 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1383, allocations: 3.938 kB / 0.5396 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.1388, allocations: 368.3 kB / 0.5399 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.1389, allocations: 96.98 kB / 0.54 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1389, allocations: 8.062 kB / 0.54 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.139, allocations: 7.938 kB / 0.54 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1391, allocations: 11.98 kB / 0.54 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1391, allocations: 0 / 0.54 GB, free: 3.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1392, allocations: 174 kB / 0.5402 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1392, allocations: 0 / 0.5402 GB, free: 3.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.1396, allocations: 48 kB / 0.5402 GB, free: 3.547 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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): 13 * 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.0007064/0.1403, allocations: 0.8921 MB / 0.5411 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1407, allocations: 202.4 kB / 0.5413 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1407, allocations: 192 / 0.5413 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.1408, allocations: 55.86 kB / 0.5414 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.1413, allocations: 63.08 kB / 0.5414 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1445, allocations: 2.624 MB / 0.544 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.145, allocations: 0.7675 MB / 0.5447 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1451, allocations: 30.28 kB / 0.5448 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1452, allocations: 87.41 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1452, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.1761, allocations: 4.929 MB / 0.5497 GB, free: 9.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.23, allocations: 0 / 0.5497 GB, free: 9.809 MB / 414.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.275754295755178]