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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1918/0.1918, allocations: 38.53 MB / 344.5 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] 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.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 0.002283/0.002283, allocations: 75.88 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3808, allocations: 61.23 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005653/0.3864, allocations: 4.633 MB / 0.5351 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.3889, allocations: 1.422 MB / 0.5365 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.3891, allocations: 17.38 kB / 0.5365 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008392/0.39, allocations: 306.8 kB / 0.5368 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.3905, allocations: 282.3 kB / 0.5371 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.3911, allocations: 261.1 kB / 0.5373 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.3917, allocations: 0.6476 MB / 0.5379 GB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.392, allocations: 179.3 kB / 0.5381 GB, free: 136 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.3924, allocations: 301.4 kB / 0.5384 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.3931, allocations: 439 kB / 0.5388 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.3931, allocations: 45.56 kB / 0.5389 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.3936, allocations: 232.9 kB / 0.5391 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.3939, allocations: 259 kB / 0.5393 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.3942, allocations: 284.7 kB / 0.5396 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009614/0.3952, allocations: 0.7562 MB / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3952, allocations: 1.156 kB / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3952, allocations: 0 / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3952, allocations: 0 / 0.5403 GB, free: 14.77 MB / 398.1 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.0017/0.3969, allocations: 0.905 MB / 0.5412 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3969, allocations: 13.33 kB / 0.5412 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.3975, allocations: 103.5 kB / 0.5413 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.3982, allocations: 442.7 kB / 0.5418 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.3983, allocations: 26.28 kB / 0.5418 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.3984, allocations: 46.92 kB / 0.5418 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3998, allocations: 0.8576 MB / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.3998, allocations: 1.406 kB / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.3999, allocations: 21.27 kB / 0.5427 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.4, allocations: 58.92 kB / 0.5427 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.4014, allocations: 0.797 MB / 0.5435 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.4061, allocations: 2.724 MB / 0.5462 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4072, allocations: 498.5 kB / 0.5467 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.4078, allocations: 363.8 kB / 0.547 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.4079, allocations: 11.59 kB / 0.547 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4079, allocations: 33.28 kB / 0.547 GB, free: 9.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.604e-06/0.4079, allocations: 0 / 0.547 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003437/0.4113, allocations: 1.897 MB / 0.5489 GB, free: 8.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.4115, allocations: 144.8 kB / 0.549 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.4118, allocations: 294.6 kB / 0.5493 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.4119, allocations: 35.94 kB / 0.5494 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4121, allocations: 259 kB / 0.5496 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.4122, allocations: 194.2 kB / 0.5498 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.4124, allocations: 98.91 kB / 0.5499 GB, free: 8.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.4126, allocations: 361.6 kB / 0.5502 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.4131, allocations: 341.6 kB / 0.5505 GB, free: 7.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.4138, allocations: 487.3 kB / 0.551 GB, free: 7.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4151, allocations: 0.9837 MB / 0.552 GB, free: 6.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4151, allocations: 0 / 0.552 GB, free: 6.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001497/0.4166, allocations: 0.9846 MB / 0.5529 GB, free: 5.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.4167, allocations: 77.59 kB / 0.553 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4167, allocations: 4 kB / 0.553 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4169, allocations: 45.39 kB / 0.5531 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.4172, allocations: 95.77 kB / 0.5531 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.4187, allocations: 1.539 MB / 0.5547 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.419, allocations: 35.95 kB / 0.5547 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.4191, allocations: 24.14 kB / 0.5547 GB, free: 3.207 MB / 398.1 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.0004153/0.4195, allocations: 311.1 kB / 0.555 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4196, allocations: 47.7 kB / 0.5551 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.4213, allocations: 1.08 MB / 0.5561 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.4213, allocations: 12 kB / 0.5561 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4213, allocations: 4 kB / 0.5561 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4213, allocations: 3.984 kB / 0.5561 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.424, allocations: 1.792 MB / 0.5579 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.424, allocations: 0 / 0.5579 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4243, allocations: 59.95 kB / 0.5579 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.4244, allocations: 36.84 kB / 0.558 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.4244, allocations: 15.98 kB / 0.558 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.4258, allocations: 1.551 MB / 0.5595 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4258, allocations: 0 / 0.5595 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4274, allocations: 1.179 MB / 0.5606 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.4277, allocations: 176.8 kB / 0.5608 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.4277, allocations: 15.94 kB / 0.5608 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.428, allocations: 27.97 kB / 0.5609 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.4281, allocations: 47.95 kB / 0.5609 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.4282, allocations: 31.91 kB / 0.5609 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4284, allocations: 203.1 kB / 0.5611 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4284, allocations: 4 kB / 0.5611 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006015/0.429, allocations: 139.9 kB / 0.5613 GB, free: 12.18 MB / 414.1 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.0002724/0.4293, allocations: 143.1 kB / 0.5614 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4309, allocations: 1.14 MB / 0.5625 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4309, allocations: 0 / 0.5625 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.4319, allocations: 0.7052 MB / 0.5632 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.4324, allocations: 73.8 kB / 0.5633 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.4347, allocations: 1.4 MB / 0.5646 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.4353, allocations: 0.9053 MB / 0.5655 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.4355, allocations: 103.2 kB / 0.5656 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.4356, allocations: 31.44 kB / 0.5657 GB, free: 7.562 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4356, allocations: 0 / 0.5657 GB, free: 7.562 MB / 414.1 MB Notification: Performance of Templates: time 0.01335/0.449, allocations: 6.383 MB / 0.5719 GB, free: 1.211 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] 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.161019559018314]