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.001025/0.001025, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.002044/0.002044, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 18.57 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 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.2994/0.2994, allocations: 29.42 MB / 291.2 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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=741,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=741,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.483e-06/1.483e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.68e-05, allocations: 3.297 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004754/0.004781, allocations: 3.905 MB / 320.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.006323, allocations: 0.9119 MB / 321.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.006483, allocations: 15.88 kB / 321.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.006668, allocations: 51.5 kB / 321.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.007091, allocations: 186.9 kB / 321.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.007279, allocations: 91.7 kB / 322 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.007736, allocations: 422.4 kB / 322.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.00791, allocations: 80.64 kB / 322.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.008302, allocations: 271.3 kB / 322.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.008561, allocations: 163.5 kB / 322.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.008602, allocations: 20 kB / 322.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-05/0.008641, allocations: 23.94 kB / 323 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.008753, allocations: 123.6 kB / 323.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.008861, allocations: 95.75 kB / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.009162, allocations: 239.1 kB / 323.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009167, allocations: 0 / 323.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.009168, allocations: 0 / 323.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.009172, allocations: 0 / 323.4 MB, free: 9.422 MB / 298.7 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.0007086/0.009881, allocations: 0.5081 MB / 323.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.009923, allocations: 15.98 kB / 323.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.009993, allocations: 40.91 kB / 324 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.01053, allocations: 268.6 kB / 324.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01055, allocations: 12.88 kB / 324.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.01058, allocations: 28.38 kB / 324.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.01086, allocations: 223.2 kB / 324.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.01087, allocations: 3.938 kB / 324.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.0109, allocations: 12 kB / 324.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01091, allocations: 4 kB / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.01104, allocations: 90.14 kB / 324.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01208, allocations: 1.1 MB / 325.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.01229, allocations: 134.6 kB / 325.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.01234, allocations: 30.64 kB / 325.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.01236, allocations: 11.88 kB / 325.9 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01239, allocations: 34.56 kB / 325.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01239, allocations: 0 / 325.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002997/0.01269, allocations: 130.2 kB / 326 MB, free: 6.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.01273, allocations: 77.11 kB / 326.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.0129, allocations: 246.9 kB / 326.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.01292, allocations: 33.7 kB / 326.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.013, allocations: 176.5 kB / 326.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.01304, allocations: 51.55 kB / 326.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.0131, allocations: 49.58 kB / 326.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.0132, allocations: 338.8 kB / 327 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.01325, allocations: 22.67 kB / 327 MB, free: 5.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.01334, allocations: 115 kB / 327.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01349, allocations: 159.5 kB / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0135, allocations: 0 / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001863/0.01368, allocations: 152.1 kB / 327.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.0137, allocations: 4.406 kB / 327.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01371, allocations: 12 kB / 327.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01372, allocations: 4 kB / 327.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.01384, allocations: 47.92 kB / 327.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01385, allocations: 7.984 kB / 327.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.01393, allocations: 11.89 kB / 327.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01394, allocations: 19.88 kB / 327.5 MB, free: 4.957 MB / 298.7 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 (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.0003416/0.01429, allocations: 116.7 kB / 327.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.01433, allocations: 27.86 kB / 327.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.01448, allocations: 115.4 kB / 327.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01448, allocations: 0 / 327.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01448, allocations: 8 kB / 327.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01449, allocations: 0 / 327.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01469, allocations: 148.5 kB / 327.9 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01469, allocations: 0 / 327.9 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.01476, allocations: 23.98 kB / 328 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01476, allocations: 4 kB / 328 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01478, allocations: 11.88 kB / 328 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01478, allocations: 0 / 328 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01478, allocations: 0 / 328 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01494, allocations: 235.1 kB / 328.2 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01497, allocations: 31.75 kB / 328.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.015, allocations: 11.92 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.01507, allocations: 4 kB / 328.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.01509, allocations: 7.984 kB / 328.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.0151, allocations: 4 kB / 328.3 MB, free: 4.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.01517, allocations: 84.62 kB / 328.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01517, allocations: 4 kB / 328.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.01544, allocations: 55.89 kB / 328.4 MB, free: 4.023 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * 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 9.167e-05/0.01553, allocations: 88.36 kB / 328.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01566, allocations: 90.42 kB / 328.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01567, allocations: 4 kB / 328.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.01572, allocations: 43.11 kB / 328.6 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01601, allocations: 65.8 kB / 328.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.01699, allocations: 0.5078 MB / 329.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.01706, allocations: 96.3 kB / 329.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9e-05/0.01715, allocations: 30.27 kB / 329.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.01729, allocations: 95.34 kB / 329.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01729, allocations: 3.938 kB / 329.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of Templates: time 0.005108/0.0224, allocations: 2.433 MB / 331.8 MB, free: 0.5742 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.253843407612294]