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.001518/0.001518, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001658/0.001658, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.367/1.367, allocations: 230.6 MB / 258.2 MB, free: 8.031 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.1763/0.1763, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.001997/0.001997, allocations: 71.88 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 62.48 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005839/0.3, allocations: 4.668 MB / 0.5478 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.3025, allocations: 1.459 MB / 0.5492 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.3027, allocations: 20.12 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008606/0.3036, allocations: 307.2 kB / 0.5495 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.3042, allocations: 279.7 kB / 0.5498 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.3048, allocations: 273.6 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007469/0.3056, allocations: 0.6519 MB / 0.5507 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.3059, allocations: 219.9 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.3064, allocations: 314.6 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.307, allocations: 436.9 kB / 0.5516 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.307, allocations: 45.38 kB / 0.5517 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.3075, allocations: 245.2 kB / 0.5519 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.3077, allocations: 251.1 kB / 0.5521 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.308, allocations: 287.5 kB / 0.5524 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008694/0.3089, allocations: 0.7568 MB / 0.5531 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3089, allocations: 4 kB / 0.5532 GB, free: 9.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3089, allocations: 0 / 0.5532 GB, free: 9.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3089, allocations: 1.094 kB / 0.5532 GB, free: 9.234 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.001532/0.3104, allocations: 0.8253 MB / 0.554 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.3105, allocations: 12.98 kB / 0.554 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007041/0.3112, allocations: 127.4 kB / 0.5541 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.3119, allocations: 378.2 kB / 0.5545 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.3119, allocations: 36.38 kB / 0.5545 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.312, allocations: 43.22 kB / 0.5545 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3132, allocations: 0.862 MB / 0.5554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.3132, allocations: 6.156 kB / 0.5554 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.3133, allocations: 21.17 kB / 0.5554 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3134, allocations: 59.02 kB / 0.5555 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3146, allocations: 0.7941 MB / 0.5562 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.3183, allocations: 2.645 MB / 0.5588 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.3192, allocations: 497.6 kB / 0.5593 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.3196, allocations: 366.5 kB / 0.5596 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.3197, allocations: 8 kB / 0.5596 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3197, allocations: 30.56 kB / 0.5597 GB, free: 3.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.154e-06/0.3197, allocations: 4 kB / 0.5597 GB, free: 3.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.002919/0.3226, allocations: 1.818 MB / 0.5615 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3227, allocations: 138.9 kB / 0.5616 GB, free: 1.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.323, allocations: 296.5 kB / 0.5619 GB, free: 1.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3231, allocations: 33.64 kB / 0.5619 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3233, allocations: 264.9 kB / 0.5622 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.3234, allocations: 194.3 kB / 0.5623 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3236, allocations: 102 kB / 0.5624 GB, free: 416 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3237, allocations: 358.7 kB / 0.5628 GB, free: 48 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.3242, allocations: 344.9 kB / 0.5631 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.3248, allocations: 489.7 kB / 0.5636 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.326, allocations: 0.9799 MB / 0.5645 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.326, allocations: 0 / 0.5645 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001428/0.3274, allocations: 0.9851 MB / 0.5655 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.3275, allocations: 77.59 kB / 0.5656 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3275, allocations: 4 kB / 0.5656 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.3277, allocations: 40.84 kB / 0.5656 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.328, allocations: 87.88 kB / 0.5657 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.3294, allocations: 1.44 MB / 0.5671 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3297, allocations: 36.17 kB / 0.5671 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.3297, allocations: 31.98 kB / 0.5672 GB, free: 11.29 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.0004032/0.3301, allocations: 299.2 kB / 0.5674 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3302, allocations: 43.72 kB / 0.5675 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3318, allocations: 1.091 MB / 0.5686 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.3318, allocations: 8 kB / 0.5686 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3318, allocations: 8 kB / 0.5686 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3318, allocations: 0 / 0.5686 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.3344, allocations: 1.77 MB / 0.5703 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3345, allocations: 0 / 0.5703 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.3347, allocations: 55.97 kB / 0.5704 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3348, allocations: 36.77 kB / 0.5704 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.3349, allocations: 16.06 kB / 0.5704 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.3361, allocations: 1.448 MB / 0.5718 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3361, allocations: 0 / 0.5718 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.3377, allocations: 1.178 MB / 0.573 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3379, allocations: 103.8 kB / 0.5731 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.338, allocations: 12 kB / 0.5731 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3382, allocations: 28.11 kB / 0.5731 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3384, allocations: 43.86 kB / 0.5731 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.3384, allocations: 23.98 kB / 0.5732 GB, free: 4.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.3386, allocations: 203.1 kB / 0.5734 GB, free: 4.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3386, allocations: 0 / 0.5734 GB, free: 4.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.3392, allocations: 147.9 kB / 0.5735 GB, free: 4.535 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.0002497/0.3395, allocations: 143.1 kB / 0.5736 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3411, allocations: 1.144 MB / 0.5748 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3411, allocations: 4.062 kB / 0.5748 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.342, allocations: 0.6896 MB / 0.5754 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.3426, allocations: 76.91 kB / 0.5755 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3447, allocations: 1.458 MB / 0.5769 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.3453, allocations: 0.9054 MB / 0.5778 GB, free: 0 / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3454, allocations: 31.42 kB / 0.5778 GB, free: 15.97 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3454, allocations: 3.938 kB / 0.5778 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Templates: time 0.0123/0.3577, allocations: 8.59 MB / 0.5862 GB, free: 7.379 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/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: 8.913545655086637]