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.001148/0.001148, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.001239/0.001239, allocations: 164.3 kB / 24.82 MB, free: 8.938 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.024/1.024, 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.2764/0.2764, allocations: 29.42 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.064e-06/2.064e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.745e-05, allocations: 2.312 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004948/0.004976, allocations: 4.246 MB / 374.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.007374, allocations: 1.379 MB / 375.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.007693, allocations: 27.81 kB / 375.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.008438, allocations: 238.8 kB / 376 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006324/0.00907, allocations: 286.3 kB / 376.3 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.009784, allocations: 275.1 kB / 376.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007332/0.01052, allocations: 0.6624 MB / 377.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.01086, allocations: 208.5 kB / 377.4 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.01148, allocations: 415 kB / 377.8 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.01192, allocations: 391 kB / 378.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.01199, allocations: 44 kB / 378.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.0124, allocations: 231.5 kB / 378.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.0126, allocations: 259.4 kB / 378.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.01277, allocations: 203.5 kB / 378.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.01341, allocations: 0.6113 MB / 379.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01342, allocations: 0 / 379.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01342, allocations: 0 / 379.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.01343, allocations: 0 / 379.5 MB, free: 1.223 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.001082/0.01451, allocations: 0.8926 MB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.01456, allocations: 11.98 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.01507, allocations: 156.4 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.01555, allocations: 357.6 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.01558, allocations: 33.36 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.01564, allocations: 40.36 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.01625, allocations: 0.5831 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.01627, allocations: 11.89 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.01631, allocations: 15.98 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.01639, allocations: 52.97 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.01677, allocations: 360.3 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.01909, allocations: 2.654 MB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.01948, allocations: 304.5 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.01966, allocations: 210 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.01969, allocations: 8 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.01973, allocations: 45.39 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.285e-06/0.01973, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001433/0.02116, allocations: 1.052 MB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.02124, allocations: 134.8 kB / 386.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.02146, allocations: 342 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.02148, allocations: 29.7 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.02164, allocations: 319.7 kB / 387.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.02177, allocations: 198.2 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.02188, allocations: 115.7 kB / 387.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.02206, allocations: 0.5351 MB / 387.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.02224, allocations: 174.8 kB / 388.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.02251, allocations: 385.5 kB / 388.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.023, allocations: 0.5966 MB / 389.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.023, allocations: 4 kB / 389.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008208/0.02382, allocations: 0.6438 MB / 389.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.02388, allocations: 73.75 kB / 389.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02389, allocations: 4 kB / 389.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.02404, allocations: 39.64 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.02421, allocations: 71.91 kB / 389.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.02516, allocations: 1.78 MB / 391.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.02531, allocations: 20.03 kB / 391.7 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.02535, allocations: 27.98 kB / 391.7 MB, free: 4.258 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.000199/0.02555, allocations: 250.1 kB / 392 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.02566, allocations: 79.58 kB / 392.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.02628, allocations: 0.6152 MB / 392.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.0263, allocations: 12 kB / 392.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.0263, allocations: 3.984 kB / 392.7 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.02631, allocations: 8 kB / 392.7 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.02738, allocations: 1.106 MB / 393.8 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.02738, allocations: 4 kB / 393.8 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.0275, allocations: 47.92 kB / 393.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/0.02758, allocations: 27.8 kB / 393.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.02761, allocations: 23.91 kB / 393.9 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.02845, allocations: 1.776 MB / 395.7 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02845, allocations: 0 / 395.7 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.02918, allocations: 0.8203 MB / 396.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.02929, allocations: 87.59 kB / 396.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.02932, allocations: 12 kB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02943, allocations: 12 kB / 396.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.02952, allocations: 43.88 kB / 396.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.02955, allocations: 15.98 kB / 396.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.02966, allocations: 215 kB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02966, allocations: 3.938 kB / 396.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.03002, allocations: 143.9 kB / 397 MB, free: 14.69 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.0002008/0.03022, allocations: 147.2 kB / 397.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.03097, allocations: 0.825 MB / 398 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.03097, allocations: 0 / 398 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.03138, allocations: 0.5511 MB / 398.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.03172, allocations: 76.77 kB / 398.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.03325, allocations: 1.165 MB / 399.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.03337, allocations: 169.7 kB / 400 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.03349, allocations: 43.25 kB / 400 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.03373, allocations: 162.2 kB / 400.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03373, allocations: 0 / 400.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of Templates: time 0.009011/0.04274, allocations: 6.643 MB / 406.8 MB, free: 4.828 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.424129164312035]