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.001309/0.001309, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001372/0.001372, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 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.584/1.584, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1846/0.1846, allocations: 38.54 MB / 346.3 MB, free: 2.25 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.002019/0.002019, allocations: 63.91 kB / 484.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3928, allocations: 61.3 MB / 0.533 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006301/0.3991, allocations: 4.664 MB / 0.5376 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.4015, allocations: 1.428 MB / 0.539 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.4017, allocations: 20.47 kB / 0.539 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009363/0.4027, allocations: 299.3 kB / 0.5393 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.4032, allocations: 286.9 kB / 0.5396 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.4039, allocations: 260.7 kB / 0.5398 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.4045, allocations: 0.6512 MB / 0.5404 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.4049, allocations: 178.6 kB / 0.5406 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.4053, allocations: 304.4 kB / 0.5409 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.406, allocations: 433.1 kB / 0.5413 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-05/0.406, allocations: 44.88 kB / 0.5414 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.4065, allocations: 246.2 kB / 0.5416 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.4068, allocations: 255.2 kB / 0.5418 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.4072, allocations: 288 kB / 0.5421 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009918/0.4082, allocations: 0.7621 MB / 0.5429 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4082, allocations: 0 / 0.5429 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4082, allocations: 0 / 0.5429 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.4082, allocations: 0 / 0.5429 GB, free: 14.61 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.001741/0.4099, allocations: 0.827 MB / 0.5437 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.41, allocations: 9.031 kB / 0.5437 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.4105, allocations: 95.72 kB / 0.5438 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.4113, allocations: 373.6 kB / 0.5441 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.4113, allocations: 29.56 kB / 0.5442 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.4114, allocations: 44.45 kB / 0.5442 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.4129, allocations: 0.8575 MB / 0.545 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.4129, allocations: 5.031 kB / 0.545 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.4129, allocations: 21.34 kB / 0.5451 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.4131, allocations: 59.11 kB / 0.5451 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4144, allocations: 0.7996 MB / 0.5459 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.4186, allocations: 2.651 MB / 0.5485 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.4195, allocations: 0.491 MB / 0.549 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.42, allocations: 359.4 kB / 0.5493 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.4201, allocations: 8.266 kB / 0.5493 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4201, allocations: 36.06 kB / 0.5493 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.106e-06/0.4201, allocations: 1.438 kB / 0.5493 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003243/0.4234, allocations: 1.811 MB / 0.5511 GB, free: 9.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4235, allocations: 141 kB / 0.5513 GB, free: 9.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.4238, allocations: 294.7 kB / 0.5515 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.4239, allocations: 35.16 kB / 0.5516 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.4241, allocations: 264.4 kB / 0.5518 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.4243, allocations: 190.3 kB / 0.552 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.4245, allocations: 102.2 kB / 0.5521 GB, free: 8.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4247, allocations: 358.7 kB / 0.5524 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.4252, allocations: 344.9 kB / 0.5528 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.4258, allocations: 493.7 kB / 0.5532 GB, free: 7.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.4271, allocations: 0.972 MB / 0.5542 GB, free: 5.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4271, allocations: 4 kB / 0.5542 GB, free: 5.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001569/0.4286, allocations: 0.9807 MB / 0.5551 GB, free: 4.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.4287, allocations: 73.61 kB / 0.5552 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4288, allocations: 4 kB / 0.5552 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.429, allocations: 53.33 kB / 0.5553 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.4294, allocations: 91.75 kB / 0.5554 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.4308, allocations: 1.452 MB / 0.5568 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.4312, allocations: 39.91 kB / 0.5568 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.4313, allocations: 23.98 kB / 0.5568 GB, free: 3.141 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.0004928/0.4318, allocations: 302.6 kB / 0.5571 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4319, allocations: 47.72 kB / 0.5572 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.4336, allocations: 1.083 MB / 0.5582 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.4336, allocations: 11.98 kB / 0.5582 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4336, allocations: 4 kB / 0.5582 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4337, allocations: 0 / 0.5582 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4366, allocations: 1.766 MB / 0.56 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4366, allocations: 64 / 0.56 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.4369, allocations: 59.95 kB / 0.56 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.437, allocations: 36.83 kB / 0.5601 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.437, allocations: 12 kB / 0.5601 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.4384, allocations: 1.448 MB / 0.5615 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.4384, allocations: 7.922 kB / 0.5615 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.4401, allocations: 1.174 MB / 0.5626 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.4404, allocations: 99.66 kB / 0.5627 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.4405, allocations: 12 kB / 0.5628 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.4407, allocations: 35.95 kB / 0.5628 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4409, allocations: 43.88 kB / 0.5628 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.4409, allocations: 27.92 kB / 0.5629 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.4412, allocations: 207.1 kB / 0.5631 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4412, allocations: 0 / 0.5631 GB, free: 12.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006717/0.4418, allocations: 139.9 kB / 0.5632 GB, free: 12.39 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.0002994/0.4421, allocations: 143.1 kB / 0.5633 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.444, allocations: 1.139 MB / 0.5644 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.444, allocations: 0 / 0.5644 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000964/0.4449, allocations: 0.7013 MB / 0.5651 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.4455, allocations: 77.73 kB / 0.5652 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.4482, allocations: 1.409 MB / 0.5666 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.4489, allocations: 0.9015 MB / 0.5674 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.4492, allocations: 107.2 kB / 0.5676 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.4492, allocations: 27.44 kB / 0.5676 GB, free: 7.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4492, allocations: 4 kB / 0.5676 GB, free: 7.766 MB / 414.1 MB Notification: Performance of Templates: time 0.01462/0.4639, allocations: 6.568 MB / 0.574 GB, free: 1.23 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.53235374763608]