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.001454/0.001454, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001389/0.001389, allocations: 165 kB / 24.56 MB, free: 12 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.9858/0.9858, allocations: 177.1 MB / 205 MB, free: 5.613 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.2328/0.2328, allocations: 29.42 MB / 290.9 MB, free: 2.488 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.195e-06/2.195e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.639e-05, allocations: 2.312 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004266/0.004293, allocations: 4.275 MB / 373.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.00617, allocations: 1.398 MB / 375.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.006418, allocations: 19.81 kB / 375.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.007047, allocations: 246.7 kB / 375.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.007516, allocations: 294.3 kB / 375.9 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.008058, allocations: 267.2 kB / 376.1 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.008666, allocations: 0.6662 MB / 376.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.009, allocations: 208.5 kB / 377 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.009531, allocations: 418.9 kB / 377.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.009925, allocations: 387.1 kB / 377.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.009982, allocations: 48 kB / 377.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.01032, allocations: 215.6 kB / 378 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01051, allocations: 267.3 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.01068, allocations: 203.5 kB / 378.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.01126, allocations: 0.6151 MB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01126, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01126, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01127, allocations: 0 / 379.1 MB, free: 1.453 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.001021/0.01229, allocations: 0.9084 MB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.01233, allocations: 15.98 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.01283, allocations: 184.4 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.01326, allocations: 381.5 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.01329, allocations: 37.34 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.01334, allocations: 36.38 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.01401, allocations: 0.6691 MB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.01404, allocations: 7.891 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.0141, allocations: 19.98 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.0142, allocations: 60.95 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.01473, allocations: 471.2 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.01677, allocations: 2.729 MB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.01728, allocations: 384.4 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.0175, allocations: 282 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.01753, allocations: 7.984 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.01756, allocations: 41.39 kB / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.903e-06/0.01756, allocations: 0 / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001544/0.0191, allocations: 1.422 MB / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.01916, allocations: 134.8 kB / 386.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.01937, allocations: 342.2 kB / 387.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.0194, allocations: 33.7 kB / 387.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01953, allocations: 311.6 kB / 387.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.01964, allocations: 198.3 kB / 387.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.01975, allocations: 107.8 kB / 387.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01989, allocations: 0.5274 MB / 388.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.02013, allocations: 250.7 kB / 388.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.02044, allocations: 460.5 kB / 389.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.02099, allocations: 0.7256 MB / 389.8 MB, free: 6.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02099, allocations: 0 / 389.8 MB, free: 6.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007184/0.02171, allocations: 0.7801 MB / 390.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.02176, allocations: 69.66 kB / 390.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.02177, allocations: 4 kB / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.02192, allocations: 35.67 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.02211, allocations: 88.34 kB / 390.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008076/0.02291, allocations: 1.811 MB / 392.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02308, allocations: 35.97 kB / 392.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.02312, allocations: 23.98 kB / 392.6 MB, free: 3.18 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.0001686/0.02329, allocations: 258 kB / 392.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.02338, allocations: 71.66 kB / 393 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.0241, allocations: 0.7713 MB / 393.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.02411, allocations: 8 kB / 393.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.02411, allocations: 4 kB / 393.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.02412, allocations: 7.922 kB / 393.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.02532, allocations: 1.32 MB / 395.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.02533, allocations: 4 kB / 395.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.02546, allocations: 59.83 kB / 395.1 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/0.02554, allocations: 31.73 kB / 395.2 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.02557, allocations: 15.98 kB / 395.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007405/0.02631, allocations: 1.807 MB / 397 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02631, allocations: 0 / 397 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.0271, allocations: 0.9531 MB / 397.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.02722, allocations: 95.73 kB / 398 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.02726, allocations: 19.94 kB / 398 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.02739, allocations: 27.97 kB / 398.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.02748, allocations: 35.94 kB / 398.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.02751, allocations: 27.92 kB / 398.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.02763, allocations: 219 kB / 398.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02763, allocations: 0 / 398.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.02799, allocations: 143.9 kB / 398.5 MB, free: 13.03 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.0002006/0.02819, allocations: 143.1 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.02908, allocations: 0.9725 MB / 399.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02908, allocations: 1.125 kB / 399.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.02953, allocations: 0.6254 MB / 400.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.02988, allocations: 75.09 kB / 400.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.03149, allocations: 1.235 MB / 401.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.03159, allocations: 157.7 kB / 401.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.03174, allocations: 79.23 kB / 401.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.03181, allocations: 40.48 kB / 401.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03181, allocations: 0 / 401.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of Templates: time 0.008961/0.04077, allocations: 6.53 MB / 408.3 MB, free: 3.082 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.174576448276639]