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.0009575/0.0009575, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001148/0.001148, allocations: 173.9 kB / 24.92 MB, free: 9.184 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2828/0.2828, allocations: 29.43 MB / 291.2 MB, free: 2.477 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 2.415e-06/2.415e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003734/0.0003758, allocations: 2.969 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003796/0.004172, allocations: 4.269 MB / 321.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.00574, allocations: 1.403 MB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.005888, allocations: 19.81 kB / 322.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.006408, allocations: 250.7 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.006726, allocations: 282.4 kB / 323.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.007109, allocations: 279.1 kB / 323.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.007548, allocations: 0.6624 MB / 324 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.008035, allocations: 231.1 kB / 324.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.008392, allocations: 418.9 kB / 324.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.008712, allocations: 379.1 kB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.008758, allocations: 44 kB / 325 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.008985, allocations: 215.6 kB / 325.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.009145, allocations: 263.3 kB / 325.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.009293, allocations: 203.5 kB / 325.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.009733, allocations: 0.6074 MB / 326.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.009734, allocations: 0 / 326.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.009735, allocations: 0 / 326.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.00974, allocations: 7.938 kB / 326.3 MB, free: 6.473 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.0007406/0.01048, allocations: 0.7442 MB / 327.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01051, allocations: 15.98 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.01091, allocations: 148.7 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.01124, allocations: 340.1 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.01126, allocations: 29.36 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.01131, allocations: 40.38 kB / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.01178, allocations: 0.5554 MB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.0118, allocations: 11.88 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.01183, allocations: 19.98 kB / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.0119, allocations: 52.97 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.01222, allocations: 347.2 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.01378, allocations: 2.075 MB / 330.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.01408, allocations: 329.9 kB / 331 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.0145, allocations: 192.4 kB / 331.2 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.01452, allocations: 4 kB / 331.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.01455, allocations: 38.56 kB / 331.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.583e-06/0.01455, allocations: 0 / 331.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001013/0.01556, allocations: 0.9642 MB / 332.2 MB, free: 300 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.01561, allocations: 138.8 kB / 332.3 MB, free: 136 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01577, allocations: 274.8 kB / 332.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01579, allocations: 33.7 kB / 332.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.01588, allocations: 237.4 kB / 332.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.01596, allocations: 198.3 kB / 333.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.01606, allocations: 90.08 kB / 333.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.01614, allocations: 358.8 kB / 333.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.01629, allocations: 181.6 kB / 333.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.01648, allocations: 307.8 kB / 334 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.01686, allocations: 0.5419 MB / 334.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01686, allocations: 3.938 kB / 334.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004722/0.01733, allocations: 0.5627 MB / 335.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.01738, allocations: 69.66 kB / 335.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.01739, allocations: 4 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.0175, allocations: 44.17 kB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01765, allocations: 71.91 kB / 335.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006169/0.01827, allocations: 1.26 MB / 336.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.0184, allocations: 19.98 kB / 336.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.01843, allocations: 24 kB / 336.6 MB, free: 11.58 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.0001616/0.01859, allocations: 214.2 kB / 336.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.01866, allocations: 51.94 kB / 336.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.01916, allocations: 0.5584 MB / 337.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.01917, allocations: 11.98 kB / 337.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01918, allocations: 0 / 337.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01918, allocations: 7.938 kB / 337.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.0204, allocations: 0.9817 MB / 338.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0204, allocations: 4.062 kB / 338.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.02051, allocations: 39.98 kB / 338.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.416e-05/0.02058, allocations: 27.67 kB / 338.5 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.0206, allocations: 15.98 kB / 338.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/0.02117, allocations: 1.252 MB / 339.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.02117, allocations: 7.938 kB / 339.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.02169, allocations: 0.7328 MB / 340.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.02178, allocations: 71.69 kB / 340.5 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.02182, allocations: 15.98 kB / 340.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.02192, allocations: 12 kB / 340.6 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.02199, allocations: 35.94 kB / 340.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.02201, allocations: 15.94 kB / 340.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.245e-05/0.02208, allocations: 100.6 kB / 340.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02208, allocations: 0 / 340.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.02235, allocations: 144 kB / 340.9 MB, free: 7.043 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.0001592/0.02251, allocations: 124.2 kB / 341 MB, free: 6.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000561/0.02307, allocations: 0.7254 MB / 341.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.02308, allocations: 4.188 kB / 341.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.0234, allocations: 0.4978 MB / 342.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.02365, allocations: 78.61 kB / 342.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.02489, allocations: 1.174 MB / 343.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.538e-05/0.02499, allocations: 165.7 kB / 343.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02509, allocations: 43.27 kB / 343.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.0253, allocations: 139.3 kB / 343.8 MB, free: 3.961 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0253, allocations: 0 / 343.8 MB, free: 3.961 MB / 314.7 MB Notification: Performance of Templates: time 0.007858/0.03316, allocations: 6.627 MB / 350.4 MB, free: 13.41 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 -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.1704154810868204]