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.0009283/0.0009283, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002253, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001056/0.001056, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002499, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9674/0.9674, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08846/1.056, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1267/0.1267, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1555/0.2822, allocations: 9.53 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.037e-05, allocations: 4.281 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004673/0.004694, allocations: 4.332 MB / 288.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.006799, allocations: 1.436 MB / 290 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.007003, allocations: 20.75 kB / 290 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.007538, allocations: 302.1 kB / 290.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.007983, allocations: 292 kB / 290.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.008578, allocations: 267.8 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000711/0.009289, allocations: 0.6807 MB / 291.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.009614, allocations: 214.8 kB / 291.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.01023, allocations: 439.6 kB / 292.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.01072, allocations: 379.8 kB / 292.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.01081, allocations: 44.59 kB / 292.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.01126, allocations: 225.7 kB / 292.8 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.01149, allocations: 248.4 kB / 293.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.01171, allocations: 161.7 kB / 293.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.01238, allocations: 0.5472 MB / 293.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.0124, allocations: 0 / 293.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0124, allocations: 0 / 293.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.01242, allocations: 0 / 293.8 MB, free: 5.262 MB / 282.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.001126/0.01355, allocations: 0.8691 MB / 294.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.01358, allocations: 16.03 kB / 294.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000497/0.01408, allocations: 205.9 kB / 294.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.01447, allocations: 348.1 kB / 295.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.0145, allocations: 25.38 kB / 295.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.01455, allocations: 44.36 kB / 295.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.01523, allocations: 0.5749 MB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.01524, allocations: 3.938 kB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.01527, allocations: 12 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/0.01535, allocations: 56.97 kB / 295.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.01572, allocations: 355.2 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.01749, allocations: 2.063 MB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.01785, allocations: 345.9 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.01802, allocations: 200.4 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.01804, allocations: 11.98 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.01806, allocations: 38.56 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.01807, allocations: 0 / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001125/0.01919, allocations: 1.015 MB / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.01922, allocations: 81.11 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01937, allocations: 274.8 kB / 300.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.01939, allocations: 33.7 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.01948, allocations: 241.4 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.01958, allocations: 186.3 kB / 300.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.01968, allocations: 102.2 kB / 300.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.01977, allocations: 350.7 kB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.01992, allocations: 201.5 kB / 301.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.02012, allocations: 319.8 kB / 301.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.02052, allocations: 0.5575 MB / 302.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02053, allocations: 3.938 kB / 302.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007533/0.02128, allocations: 0.59 MB / 302.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.02134, allocations: 69.66 kB / 302.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.02135, allocations: 4.562 kB / 302.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.02146, allocations: 35.67 kB / 302.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.0217, allocations: 93.94 kB / 303 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007031/0.02241, allocations: 1.259 MB / 304.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02256, allocations: 16 kB / 304.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.0226, allocations: 23.98 kB / 304.3 MB, free: 10.06 MB / 298.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.0001602/0.02276, allocations: 214.2 kB / 304.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.02283, allocations: 48.11 kB / 304.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.02334, allocations: 0.5857 MB / 305.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.02336, allocations: 15.98 kB / 305.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02336, allocations: 0 / 305.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02336, allocations: 0 / 305.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/0.02425, allocations: 1.005 MB / 306.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02425, allocations: 4 kB / 306.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.0244, allocations: 59.91 kB / 306.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.0245, allocations: 75.61 kB / 306.3 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/0.02457, allocations: 35.61 kB / 306.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.02459, allocations: 8 kB / 306.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005967/0.02519, allocations: 1.264 MB / 307.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02519, allocations: 0 / 307.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.02577, allocations: 0.7368 MB / 308.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.02581, allocations: 16 kB / 308.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.02592, allocations: 15.98 kB / 308.4 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.026, allocations: 39.97 kB / 308.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.02603, allocations: 15.98 kB / 308.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.0261, allocations: 96.62 kB / 308.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0261, allocations: 4.031 kB / 308.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.02643, allocations: 143.9 kB / 308.7 MB, free: 5.445 MB / 298.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.0001648/0.0266, allocations: 132.2 kB / 308.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.02736, allocations: 0.7568 MB / 309.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.02738, allocations: 4 kB / 309.6 MB, free: 4.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.02772, allocations: 0.5018 MB / 310.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.02801, allocations: 109.6 kB / 310.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.03415, allocations: 1.228 MB / 311.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.03426, allocations: 165.7 kB / 311.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.03439, allocations: 43.27 kB / 311.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.03463, allocations: 151.2 kB / 311.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03463, allocations: 0 / 311.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of Templates: time 0.008856/0.04349, allocations: 6.759 MB / 318.5 MB, free: 11.55 MB / 314.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.941087806597352]