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.001341/0.001341, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001345/0.001345, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 0.9896/0.9896, allocations: 177.1 MB / 205 MB, free: 5.297 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.2468/0.2468, allocations: 29.41 MB / 290.9 MB, free: 2.465 MB / 266.7 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.[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.232e-06/1.232e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.28e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00418/0.004203, allocations: 4.372 MB / 374 MB, free: 6.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.005935, allocations: 1.394 MB / 375.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.006115, allocations: 23.81 kB / 375.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.006629, allocations: 167 kB / 375.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.007067, allocations: 286.3 kB / 375.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.008714, allocations: 263.2 kB / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009128/0.009626, allocations: 0.6702 MB / 376.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.01004, allocations: 212.5 kB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.01067, allocations: 394.9 kB / 377.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006261/0.01129, allocations: 411 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.686e-05/0.01139, allocations: 44 kB / 377.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.01187, allocations: 219.6 kB / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.01215, allocations: 271.3 kB / 378.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.01241, allocations: 195.6 kB / 378.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.01328, allocations: 0.6191 MB / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01328, allocations: 0 / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01328, allocations: 0 / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01329, allocations: 0 / 379.1 MB, free: 1.48 MB / 346.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.001483/0.01478, allocations: 0.9239 MB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.01482, allocations: 15.98 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.0156, allocations: 176.3 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.01628, allocations: 382.7 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.01631, allocations: 33.28 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.01641, allocations: 48.3 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.01746, allocations: 0.6652 MB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.01749, allocations: 7.891 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.01754, allocations: 15.94 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.01768, allocations: 64.95 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.01859, allocations: 467.3 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.02203, allocations: 2.733 MB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.02275, allocations: 387.4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.02315, allocations: 274 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.02319, allocations: 8 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.02323, allocations: 45.33 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.375e-06/0.02323, allocations: 3.938 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.00255/0.02578, allocations: 1.422 MB / 386.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.02587, allocations: 130.8 kB / 386.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.0262, allocations: 342.2 kB / 387.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.02623, allocations: 33.64 kB / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.02642, allocations: 315.7 kB / 387.6 MB, free: 8.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.02658, allocations: 194.3 kB / 387.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.02676, allocations: 115.9 kB / 387.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.02696, allocations: 0.5274 MB / 388.4 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.02734, allocations: 250.7 kB / 388.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.02784, allocations: 457.5 kB / 389.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.02875, allocations: 0.7139 MB / 389.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.02876, allocations: 4 kB / 389.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001219/0.02998, allocations: 0.7839 MB / 390.6 MB, free: 5.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.03005, allocations: 69.66 kB / 390.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.03006, allocations: 4.562 kB / 390.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.03027, allocations: 39.67 kB / 390.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.03058, allocations: 79.89 kB / 390.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.03176, allocations: 1.814 MB / 392.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.03201, allocations: 35.97 kB / 392.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.03208, allocations: 20 kB / 392.6 MB, free: 3.199 MB / 362.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.0002461/0.03232, allocations: 258.1 kB / 392.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.03246, allocations: 67.66 kB / 393 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.03366, allocations: 0.7673 MB / 393.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.03369, allocations: 15.98 kB / 393.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.03369, allocations: 0 / 393.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0337, allocations: 0 / 393.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.03571, allocations: 1.34 MB / 395.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.03572, allocations: 0 / 395.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.03594, allocations: 59.84 kB / 395.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.03606, allocations: 31.66 kB / 395.2 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.0361, allocations: 12 kB / 395.2 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.03719, allocations: 1.803 MB / 397 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.03719, allocations: 8.062 kB / 397 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.03837, allocations: 0.9648 MB / 398 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.03855, allocations: 87.72 kB / 398 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.0386, allocations: 19.92 kB / 398.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.03884, allocations: 27.97 kB / 398.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.03897, allocations: 35.94 kB / 398.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.03904, allocations: 20 kB / 398.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.03922, allocations: 219 kB / 398.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03922, allocations: 0 / 398.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.03975, allocations: 147.9 kB / 398.5 MB, free: 13.04 MB / 378.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.0002559/0.04, allocations: 151 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.04132, allocations: 0.9697 MB / 399.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04133, allocations: 0 / 399.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.04208, allocations: 0.6175 MB / 400.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.04262, allocations: 73.94 kB / 400.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.0449, allocations: 1.227 MB / 401.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.04505, allocations: 161.7 kB / 401.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.04526, allocations: 83.23 kB / 401.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.04535, allocations: 32.5 kB / 401.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04535, allocations: 0 / 401.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of Templates: time 0.01132/0.05667, allocations: 6.239 MB / 408 MB, free: 3.398 MB / 378.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.3434366369619966]