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.002054/0.002054, allocations: 115.2 kB / 17.69 MB, free: 5.309 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.002061/0.002061, allocations: 191 kB / 18.63 MB, free: 4.375 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1931/0.1931, allocations: 38.04 MB / 330.5 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 60.5 kB / 400.3 MB, free: 33.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 58.06 MB / 458.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005852/0.122, allocations: 4.043 MB / 462.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1237, allocations: 0.9035 MB / 463.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.124, allocations: 11.94 kB / 463.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1242, allocations: 47.56 kB / 463.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.1249, allocations: 187 kB / 463.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1252, allocations: 91.81 kB / 463.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.1258, allocations: 402.6 kB / 464 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.126, allocations: 118.2 kB / 464.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.1264, allocations: 175.2 kB / 464.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.1269, allocations: 215.2 kB / 464.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.1269, allocations: 20 kB / 464.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.127, allocations: 20 kB / 464.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1271, allocations: 103.7 kB / 464.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.1273, allocations: 151.2 kB / 464.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1277, allocations: 318.8 kB / 465.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1277, allocations: 0 / 465.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1277, allocations: 0 / 465.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1277, allocations: 0 / 465.1 MB, free: 0.5898 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.001169/0.1289, allocations: 0.6206 MB / 465.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1289, allocations: 15.83 kB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.129, allocations: 36.47 kB / 465.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.1295, allocations: 339 kB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1296, allocations: 20.94 kB / 466.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1296, allocations: 28.06 kB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1301, allocations: 324.5 kB / 466.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1301, allocations: 0 / 466.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1302, allocations: 4 kB / 466.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1302, allocations: 8 kB / 466.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.1305, allocations: 217.5 kB / 466.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1322, allocations: 1.344 MB / 468 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.1325, allocations: 149.2 kB / 468.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1326, allocations: 57.75 kB / 468.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1327, allocations: 4 kB / 468.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1327, allocations: 34.56 kB / 468.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.1327, allocations: 0 / 468.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007831/0.1335, allocations: 359.8 kB / 468.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1336, allocations: 89.17 kB / 468.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1338, allocations: 259 kB / 469 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1339, allocations: 25.7 kB / 469 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.134, allocations: 207.5 kB / 469.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.134, allocations: 47.36 kB / 469.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.1341, allocations: 49.7 kB / 469.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1343, allocations: 334.8 kB / 469.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.1344, allocations: 51.97 kB / 469.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1345, allocations: 161.6 kB / 469.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1348, allocations: 233.3 kB / 470 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1348, allocations: 0 / 470 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003596/0.1352, allocations: 249 kB / 470.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1352, allocations: 8 kB / 470.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1352, allocations: 4 kB / 470.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1353, allocations: 4 kB / 470.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1355, allocations: 47.91 kB / 470.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1355, allocations: 7.938 kB / 470.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1356, allocations: 16.34 kB / 470.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1356, allocations: 15.98 kB / 470.4 MB, free: 10.88 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.0001416/0.1358, allocations: 161.6 kB / 470.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1359, allocations: 31.7 kB / 470.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.1362, allocations: 199.2 kB / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1362, allocations: 0 / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1362, allocations: 0 / 470.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1362, allocations: 4 kB / 470.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.1369, allocations: 0.557 MB / 471.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1369, allocations: 3.938 kB / 471.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.137, allocations: 27.98 kB / 471.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1371, allocations: 0 / 471.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1371, allocations: 7.938 kB / 471.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.1371, allocations: 7.938 kB / 471.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1371, allocations: 0 / 471.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1374, allocations: 296.2 kB / 471.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1375, allocations: 100.7 kB / 471.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1376, allocations: 4 kB / 471.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1377, allocations: 7.938 kB / 471.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1377, allocations: 11.98 kB / 471.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1377, allocations: 7.984 kB / 471.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1379, allocations: 186 kB / 472 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1379, allocations: 4 kB / 472 MB, free: 9.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1382, allocations: 48 kB / 472 MB, free: 9.121 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.0001189/0.1384, allocations: 107.1 kB / 472.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1387, allocations: 151.8 kB / 472.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1387, allocations: 0.875 kB / 472.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1388, allocations: 79.89 kB / 472.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1393, allocations: 63.77 kB / 472.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.1401, allocations: 0.5192 MB / 472.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1405, allocations: 0.7791 MB / 473.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1406, allocations: 46.25 kB / 473.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.1407, allocations: 23.44 kB / 473.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1407, allocations: 4 kB / 473.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Templates: time 0.005313/0.146, allocations: 2.211 MB / 476 MB, free: 5.105 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins1/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