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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 164.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1658/0.1658, allocations: 29.44 MB / 290.1 MB, free: 3.293 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.646e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005653/0.005679, allocations: 3.976 MB / 434.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.007313, allocations: 0.8723 MB / 435.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.007476, allocations: 23.81 kB / 435.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.00771, allocations: 51.5 kB / 435.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.008247, allocations: 186.9 kB / 435.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.008494, allocations: 87.75 kB / 435.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.008974, allocations: 418.3 kB / 436.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.009196, allocations: 74.69 kB / 436.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.009616, allocations: 251.2 kB / 436.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.009979, allocations: 187.5 kB / 436.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.01003, allocations: 20 kB / 436.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.01009, allocations: 20 kB / 436.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.01024, allocations: 115.7 kB / 437 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.01041, allocations: 103.7 kB / 437.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.01083, allocations: 314.9 kB / 437.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01083, allocations: 0 / 437.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01083, allocations: 4 kB / 437.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.01084, allocations: 0 / 437.4 MB, free: 11.25 MB / 366.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.001104/0.01195, allocations: 0.5489 MB / 437.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01199, allocations: 15.97 kB / 437.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.01206, allocations: 36.75 kB / 438 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.01256, allocations: 287.6 kB / 438.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.01259, allocations: 16.86 kB / 438.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.01263, allocations: 20.38 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.01313, allocations: 320.4 kB / 438.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.01315, allocations: 7.938 kB / 438.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.01318, allocations: 8 kB / 438.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01319, allocations: 8 kB / 438.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.01356, allocations: 217.7 kB / 438.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.01517, allocations: 1.218 MB / 440.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.01552, allocations: 141.2 kB / 440.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01563, allocations: 65.69 kB / 440.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.01565, allocations: 3.984 kB / 440.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.01569, allocations: 34.56 kB / 440.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.01569, allocations: 0 / 440.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008132/0.0165, allocations: 369.2 kB / 440.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.01656, allocations: 81.23 kB / 440.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01683, allocations: 272.1 kB / 441 MB, free: 7.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.01685, allocations: 25.7 kB / 441 MB, free: 7.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.017, allocations: 204 kB / 441.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01704, allocations: 47.62 kB / 441.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.01712, allocations: 49.66 kB / 441.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01727, allocations: 334.8 kB / 441.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.01737, allocations: 55.89 kB / 441.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01754, allocations: 152.8 kB / 441.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.01784, allocations: 232.6 kB / 442.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01784, allocations: 4 kB / 442.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003834/0.01822, allocations: 249.1 kB / 442.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01824, allocations: 4 kB / 442.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.01825, allocations: 4 kB / 442.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01827, allocations: 4.438 kB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01845, allocations: 55.91 kB / 442.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.01847, allocations: 15.92 kB / 442.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01859, allocations: 7.984 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01861, allocations: 12 kB / 442.4 MB, free: 5.836 MB / 366.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.0001519/0.01876, allocations: 157.6 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.01881, allocations: 35.73 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.01915, allocations: 194.4 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01916, allocations: 4 kB / 442.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01916, allocations: 0 / 442.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01917, allocations: 4 kB / 442.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.0198, allocations: 490.7 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0198, allocations: 0 / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.01994, allocations: 31.92 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01994, allocations: 0 / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.01996, allocations: 8 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01997, allocations: 4 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01997, allocations: 0 / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.02031, allocations: 293 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.02036, allocations: 23.84 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.02039, allocations: 4.031 kB / 443.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.02051, allocations: 11.98 kB / 443.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.02055, allocations: 11.92 kB / 443.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.02057, allocations: 8 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.02074, allocations: 179.1 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02074, allocations: 0 / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.02106, allocations: 52 kB / 443.9 MB, free: 4.285 MB / 366.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.0001383/0.0212, allocations: 103.2 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.02151, allocations: 159.9 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02152, allocations: 0 / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.02163, allocations: 59.91 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.02213, allocations: 65.23 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.023, allocations: 0.5015 MB / 444.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.02319, allocations: 170.1 kB / 445 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.02331, allocations: 46.27 kB / 445 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.02338, allocations: 24.5 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02338, allocations: 3.938 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of Templates: time 0.006025/0.0294, allocations: 2.228 MB / 447.3 MB, free: 0.9297 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.42171723768115]