Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 113.3 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.03 MB / 329.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.05 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1175, allocations: 58.05 MB / 456.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00768/0.1252, allocations: 4.698 MB / 461 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1284, allocations: 1.079 MB / 462.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008904/0.1293, allocations: 27.81 kB / 462.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.1298, allocations: 39.69 kB / 462.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1309, allocations: 163.2 kB / 462.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.1312, allocations: 79.86 kB / 462.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.1319, allocations: 410.5 kB / 462.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.1323, allocations: 122.2 kB / 462.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.1327, allocations: 175.2 kB / 463.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.1332, allocations: 211.3 kB / 463.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.1332, allocations: 20 kB / 463.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.1333, allocations: 20 kB / 463.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1334, allocations: 119.6 kB / 463.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1336, allocations: 151.2 kB / 463.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.1341, allocations: 306.9 kB / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1342, allocations: 0 / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1342, allocations: 0 / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1342, allocations: 0 / 463.9 MB, free: 0.8242 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001524/0.1357, allocations: 0.6322 MB / 464.6 MB, free: 148 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1358, allocations: 11.89 kB / 464.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.996e-05/0.1359, allocations: 32.56 kB / 464.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.1364, allocations: 323 kB / 464.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.1364, allocations: 16.94 kB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.1365, allocations: 28.12 kB / 465 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.137, allocations: 316.5 kB / 465.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.137, allocations: 0 / 465.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.137, allocations: 12 kB / 465.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.137, allocations: 4 kB / 465.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.1374, allocations: 221.5 kB / 465.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.139, allocations: 1.352 MB / 466.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.1393, allocations: 141.2 kB / 467 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.1395, allocations: 57.75 kB / 467.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1395, allocations: 4 kB / 467.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1395, allocations: 38.55 kB / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1395, allocations: 224 / 467.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007966/0.1403, allocations: 368.1 kB / 467.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1404, allocations: 81.05 kB / 467.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1407, allocations: 266.9 kB / 467.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1407, allocations: 25.7 kB / 467.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1409, allocations: 203.6 kB / 468 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1409, allocations: 47.45 kB / 468.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.141, allocations: 49.55 kB / 468.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1412, allocations: 338.8 kB / 468.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1413, allocations: 55.95 kB / 468.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1414, allocations: 157.7 kB / 468.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1417, allocations: 232.6 kB / 468.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1417, allocations: 0 / 468.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003431/0.1421, allocations: 241.4 kB / 469.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1421, allocations: 12.03 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1421, allocations: 4 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1422, allocations: 4 kB / 469.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1423, allocations: 51.91 kB / 469.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1424, allocations: 7.984 kB / 469.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1425, allocations: 8 kB / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1425, allocations: 12 kB / 469.2 MB, free: 11.13 MB / 350.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 (25): * Single equations (assignments): 25 * 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.0001629/0.1427, allocations: 165.6 kB / 469.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1427, allocations: 23.72 kB / 469.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.1431, allocations: 199.2 kB / 469.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1431, allocations: 0 / 469.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1431, allocations: 0 / 469.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1431, allocations: 7.984 kB / 469.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.1438, allocations: 0.5531 MB / 470.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1438, allocations: 3.938 kB / 470.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1439, allocations: 27.98 kB / 470.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1439, allocations: 4.031 kB / 470.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.144, allocations: 12 kB / 470.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.144, allocations: 11.91 kB / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.144, allocations: 0 / 470.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.1444, allocations: 284.8 kB / 470.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1445, allocations: 108.7 kB / 470.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.1445, allocations: 12 kB / 470.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1446, allocations: 3.938 kB / 470.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1447, allocations: 11.98 kB / 470.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1447, allocations: 4 kB / 470.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1449, allocations: 186 kB / 470.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1449, allocations: 0 / 470.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1452, allocations: 48 kB / 470.9 MB, free: 9.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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.0001065/0.1453, allocations: 103.2 kB / 471 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1456, allocations: 167.7 kB / 471.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1456, allocations: 3.938 kB / 471.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1457, allocations: 71.91 kB / 471.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1462, allocations: 63.19 kB / 471.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.1471, allocations: 0.6349 MB / 471.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1474, allocations: 0.7831 MB / 472.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1476, allocations: 46.27 kB / 472.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1477, allocations: 19.44 kB / 472.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1477, allocations: 0 / 472.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Templates: time 0.005357/0.153, allocations: 2.214 MB / 474.9 MB, free: 5.234 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches