Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.002397/0.002397, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002739/0.002739, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3101/0.3101, allocations: 29.41 MB / 290.5 MB, free: 2.406 MB / 266.7 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.792e-05, allocations: 5.266 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007093/0.007121, allocations: 4.589 MB / 373.5 MB, free: 6.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.01012, allocations: 1.398 MB / 374.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.01036, allocations: 19.81 kB / 374.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.01139, allocations: 302.6 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.01209, allocations: 298.2 kB / 375.5 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.01284, allocations: 259.2 kB / 375.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000869/0.01371, allocations: 0.6779 MB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.01411, allocations: 208.4 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.01481, allocations: 406.8 kB / 377 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.01549, allocations: 403 kB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.01558, allocations: 44 kB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.01608, allocations: 219.6 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.0164, allocations: 263.3 kB / 377.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.01672, allocations: 199.5 kB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01786, allocations: 0.8061 MB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01786, allocations: 4 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01786, allocations: 0 / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.01787, allocations: 0 / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001892/0.01976, allocations: 0.9432 MB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.01981, allocations: 15.98 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.02065, allocations: 196.2 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.02145, allocations: 386.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.02151, allocations: 33.38 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.0216, allocations: 40.36 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.0228, allocations: 0.6926 MB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.02282, allocations: 7.938 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.02289, allocations: 19.98 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.02304, allocations: 60.95 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.02403, allocations: 0.5129 MB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.02842, allocations: 2.844 MB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/0.02926, allocations: 412.5 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.02977, allocations: 306 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.02982, allocations: 4 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.02988, allocations: 41.39 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.715e-06/0.02988, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003408/0.03329, allocations: 1.453 MB / 386.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.03345, allocations: 142.9 kB / 387 MB, free: 8.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.03395, allocations: 386.2 kB / 387.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.034, allocations: 33.7 kB / 387.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.03428, allocations: 319.7 kB / 387.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.03452, allocations: 202.3 kB / 387.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.03475, allocations: 123.8 kB / 388 MB, free: 7.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003504/0.0351, allocations: 0.547 MB / 388.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.03556, allocations: 262.7 kB / 388.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.0362, allocations: 481.5 kB / 389.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.03741, allocations: 0.7568 MB / 390.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.03741, allocations: 0 / 390.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001638/0.03905, allocations: 0.8076 MB / 390.9 MB, free: 4.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.03918, allocations: 65.67 kB / 390.9 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.0392, allocations: 4 kB / 390.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.03954, allocations: 43.59 kB / 391 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.03995, allocations: 83.83 kB / 391.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.04191, allocations: 1.834 MB / 392.9 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.04236, allocations: 31.97 kB / 392.9 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.04244, allocations: 24 kB / 393 MB, free: 2.422 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006001/0.04304, allocations: 266 kB / 393.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.04327, allocations: 75.64 kB / 393.3 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.0447, allocations: 0.787 MB / 394.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.04473, allocations: 12 kB / 394.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.04473, allocations: 3.938 kB / 394.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.04474, allocations: 3.984 kB / 394.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.04732, allocations: 1.414 MB / 395.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.04733, allocations: 4 kB / 395.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.04761, allocations: 55.84 kB / 395.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.04777, allocations: 35.66 kB / 395.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.04782, allocations: 12.06 kB / 395.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.04966, allocations: 1.818 MB / 397.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.04966, allocations: 0 / 397.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.05132, allocations: 0.9844 MB / 398.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.05162, allocations: 91.67 kB / 398.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.05169, allocations: 15.94 kB / 398.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.05196, allocations: 31.98 kB / 398.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.05215, allocations: 51.81 kB / 398.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.0522, allocations: 16 kB / 398.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.0525, allocations: 243 kB / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0525, allocations: 0 / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007329/0.05324, allocations: 147.9 kB / 399 MB, free: 12.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003457/0.05358, allocations: 127.2 kB / 399.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.0553, allocations: 1.027 MB / 400.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.0553, allocations: 0 / 400.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.0564, allocations: 0.6616 MB / 400.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.05698, allocations: 87.89 kB / 400.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.05934, allocations: 1.231 MB / 402.1 MB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.05973, allocations: 286.6 kB / 402.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.06, allocations: 79.2 kB / 402.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.06011, allocations: 28.5 kB / 402.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.555e-06/0.06011, allocations: 0 / 402.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01426/0.07437, allocations: 6.221 MB / 408.7 MB, free: 2.262 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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: 5.009642224991694]