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.001862/0.001862, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002319/0.002319, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.674/1.674, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 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.185/0.185, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 75.89 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 62.45 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006994/0.4003, allocations: 4.419 MB / 0.5467 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.4034, allocations: 1.345 MB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.4037, allocations: 20.16 kB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4047, allocations: 299.6 kB / 0.5484 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.4054, allocations: 279.3 kB / 0.5486 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.4063, allocations: 267.5 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.4071, allocations: 0.6542 MB / 0.5495 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.4076, allocations: 215.6 kB / 0.5497 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.4082, allocations: 314.8 kB / 0.55 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006558/0.4089, allocations: 429.5 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-05/0.4089, allocations: 45.59 kB / 0.5505 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.4094, allocations: 220.4 kB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4097, allocations: 250.4 kB / 0.5509 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.4101, allocations: 244.4 kB / 0.5512 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4112, allocations: 0.7591 MB / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4112, allocations: 0 / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4112, allocations: 0 / 0.5519 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4112, allocations: 1.188 kB / 0.5519 GB, free: 9.543 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.001813/0.413, allocations: 0.8268 MB / 0.5527 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4131, allocations: 14.2 kB / 0.5527 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.4139, allocations: 131 kB / 0.5528 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.4147, allocations: 373.7 kB / 0.5532 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.4148, allocations: 37.95 kB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4149, allocations: 47.12 kB / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.4164, allocations: 0.9307 MB / 0.5542 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4164, allocations: 1.125 kB / 0.5542 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.4165, allocations: 21.14 kB / 0.5542 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.4167, allocations: 59.61 kB / 0.5543 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.4181, allocations: 0.8759 MB / 0.5551 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.4222, allocations: 2.463 MB / 0.5575 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4232, allocations: 0.558 MB / 0.5581 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.4238, allocations: 432.3 kB / 0.5585 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.4239, allocations: 4 kB / 0.5585 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.4239, allocations: 46.44 kB / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.765e-06/0.4239, allocations: 0 / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003634/0.4275, allocations: 2.001 MB / 0.5605 GB, free: 1.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.4277, allocations: 138.8 kB / 0.5606 GB, free: 1.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.4281, allocations: 304.3 kB / 0.5609 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.4282, allocations: 37.62 kB / 0.561 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4284, allocations: 268.9 kB / 0.5612 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.4286, allocations: 194.3 kB / 0.5614 GB, free: 416 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.4288, allocations: 102.1 kB / 0.5615 GB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.429, allocations: 358.7 kB / 0.5618 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.4296, allocations: 418.6 kB / 0.5622 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.4303, allocations: 0.5523 MB / 0.5628 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.4316, allocations: 1.015 MB / 0.5638 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4316, allocations: 0 / 0.5638 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001776/0.4334, allocations: 1.084 MB / 0.5648 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4335, allocations: 77.66 kB / 0.5649 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4335, allocations: 4 kB / 0.5649 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.4338, allocations: 40.77 kB / 0.5649 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.4342, allocations: 87.83 kB / 0.565 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.4358, allocations: 1.421 MB / 0.5664 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.4361, allocations: 35.95 kB / 0.5664 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.4362, allocations: 24 kB / 0.5665 GB, free: 10.93 MB / 414.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.0005332/0.4367, allocations: 299.2 kB / 0.5668 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4369, allocations: 51.7 kB / 0.5668 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.4387, allocations: 1.136 MB / 0.5679 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.4387, allocations: 11.98 kB / 0.5679 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4387, allocations: 7.938 kB / 0.5679 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4387, allocations: 0 / 0.5679 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.4416, allocations: 1.691 MB / 0.5696 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4416, allocations: 3.938 kB / 0.5696 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.4419, allocations: 63.89 kB / 0.5696 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.442, allocations: 28.84 kB / 0.5697 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.442, allocations: 15.98 kB / 0.5697 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.4435, allocations: 1.421 MB / 0.5711 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4435, allocations: 7.969 kB / 0.5711 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.4453, allocations: 1.23 MB / 0.5723 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.4456, allocations: 103.6 kB / 0.5724 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.4457, allocations: 12 kB / 0.5724 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.4459, allocations: 31.95 kB / 0.5724 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4461, allocations: 51.94 kB / 0.5725 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.4462, allocations: 19.98 kB / 0.5725 GB, free: 4.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.4465, allocations: 203.1 kB / 0.5727 GB, free: 4.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4465, allocations: 0 / 0.5727 GB, free: 4.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.4471, allocations: 136 kB / 0.5728 GB, free: 4.168 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.0002782/0.4474, allocations: 139.1 kB / 0.573 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.4493, allocations: 1.279 MB / 0.5742 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4493, allocations: 0 / 0.5742 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4504, allocations: 0.7432 MB / 0.5749 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.451, allocations: 76.34 kB / 0.575 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.4539, allocations: 1.496 MB / 0.5765 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4542, allocations: 306.5 kB / 0.5768 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003223/0.4546, allocations: 99.19 kB / 0.5768 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.4547, allocations: 31.44 kB / 0.5769 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4547, allocations: 0 / 0.5769 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.01414/0.4688, allocations: 6.762 MB / 0.5835 GB, free: 9.168 MB / 430.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.758317124098539]