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.0007634/0.0007634, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.0009092/0.0009092, allocations: 175.5 kB / 24.92 MB, free: 9.199 MB / 18.57 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2549/0.2549, allocations: 29.42 MB / 291.2 MB, free: 2.484 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[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="Time|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.773e-06/1.773e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.344e-05, allocations: 6.969 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.008766/0.008789, allocations: 4.31 MB / 321.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.01444, allocations: 1.41 MB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.01473, allocations: 19.81 kB / 322.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.01858, allocations: 246.7 kB / 322.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/0.01925, allocations: 278.4 kB / 323.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.01997, allocations: 275.1 kB / 323.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.02073, allocations: 0.6585 MB / 324.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.02428, allocations: 235.1 kB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.02506, allocations: 426.9 kB / 324.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.0256, allocations: 371.1 kB / 325.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.02568, allocations: 44 kB / 325.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.02618, allocations: 223.6 kB / 325.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.02643, allocations: 259.3 kB / 325.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.02665, allocations: 195.6 kB / 325.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.03069, allocations: 0.6152 MB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.03069, allocations: 4 kB / 326.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0307, allocations: 4 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.03071, allocations: 0 / 326.4 MB, free: 6.398 MB / 298.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.001116/0.03182, allocations: 0.7402 MB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.03186, allocations: 15.97 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.03251, allocations: 144.7 kB / 327.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.03619, allocations: 336.2 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.03622, allocations: 29.38 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/0.0363, allocations: 48.34 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.03705, allocations: 0.5642 MB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.03707, allocations: 3.938 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.03711, allocations: 16 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.03722, allocations: 56.91 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004947/0.03771, allocations: 343.2 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.04029, allocations: 2.075 MB / 330.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.04084, allocations: 334.4 kB / 331.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.04109, allocations: 196.4 kB / 331.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.04112, allocations: 8 kB / 331.3 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.04116, allocations: 38.55 kB / 331.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.605e-06/0.04116, allocations: 0 / 331.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001861/0.04302, allocations: 0.9565 MB / 332.3 MB, free: 228 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.0431, allocations: 142.8 kB / 332.4 MB, free: 60 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.04335, allocations: 274.8 kB / 332.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.04339, allocations: 33.7 kB / 332.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.04353, allocations: 241.4 kB / 333 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.04367, allocations: 186.3 kB / 333.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.04382, allocations: 98.06 kB / 333.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.04395, allocations: 354.7 kB / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.04419, allocations: 181.6 kB / 333.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.04451, allocations: 307.8 kB / 334.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.04513, allocations: 0.5419 MB / 334.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.04514, allocations: 3.938 kB / 334.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008573/0.04599, allocations: 0.5667 MB / 335.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.04607, allocations: 69.66 kB / 335.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.04609, allocations: 8 kB / 335.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.04625, allocations: 27.67 kB / 335.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.0466, allocations: 87.83 kB / 335.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.04766, allocations: 1.272 MB / 336.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.04797, allocations: 15.98 kB / 336.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.04804, allocations: 20 kB / 336.7 MB, free: 11.5 MB / 314.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.0003315/0.04837, allocations: 210.1 kB / 336.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.04852, allocations: 51.95 kB / 336.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/0.04934, allocations: 0.5623 MB / 337.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.04937, allocations: 15.98 kB / 337.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.04938, allocations: 0 / 337.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.04938, allocations: 0 / 337.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.05091, allocations: 0.9817 MB / 338.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.05092, allocations: 0 / 338.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.05117, allocations: 55.91 kB / 338.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.05128, allocations: 31.73 kB / 338.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.05133, allocations: 11.94 kB / 338.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009749/0.0523, allocations: 1.26 MB / 339.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.0523, allocations: 0 / 339.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.05324, allocations: 0.7249 MB / 340.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.05342, allocations: 79.67 kB / 340.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.05349, allocations: 20.02 kB / 340.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.05369, allocations: 12 kB / 340.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.05381, allocations: 43.81 kB / 340.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.05386, allocations: 16 kB / 340.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.05397, allocations: 92.62 kB / 340.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05397, allocations: 0 / 340.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006542/0.05463, allocations: 144 kB / 341 MB, free: 6.949 MB / 314.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.000267/0.0549, allocations: 128.2 kB / 341.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.05603, allocations: 0.7246 MB / 341.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/0.05605, allocations: 0 / 341.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.05663, allocations: 0.4913 MB / 342.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.05708, allocations: 82.56 kB / 342.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.05957, allocations: 1.176 MB / 343.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.05972, allocations: 161.7 kB / 343.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.05997, allocations: 39.31 kB / 343.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.06033, allocations: 155.3 kB / 343.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of SimCode: time 2.194e-06/0.06033, allocations: 0 / 343.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of Templates: time 0.008644/0.06897, allocations: 6.667 MB / 350.6 MB, free: 13.27 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.0656072893179953]