Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.002662/0.002662, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00267/0.00267, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3092/0.3092, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.175e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.01029/0.01033, allocations: 4.491 MB / 373.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.01474, allocations: 1.515 MB / 374.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.01506, allocations: 19.81 kB / 374.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.01632, allocations: 290.6 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009663/0.01729, allocations: 298.2 kB / 375.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.01826, allocations: 267.1 kB / 375.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.01933, allocations: 0.6234 MB / 376.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.01982, allocations: 188 kB / 376.6 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.02062, allocations: 367 kB / 376.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.02143, allocations: 363.1 kB / 377.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.02154, allocations: 44 kB / 377.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.02222, allocations: 231.4 kB / 377.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.02262, allocations: 247.4 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.02297, allocations: 171.6 kB / 377.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.02434, allocations: 0.7166 MB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.02435, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02435, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.02436, allocations: 0 / 378.7 MB, free: 1.512 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002147/0.0265, allocations: 0.8325 MB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.02655, allocations: 11.98 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.02782, allocations: 184.3 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.02885, allocations: 370.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.0289, allocations: 25.36 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.0291, allocations: 44.73 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.03038, allocations: 0.5006 MB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.03041, allocations: 3.938 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.03047, allocations: 12 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.03078, allocations: 76.94 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.03189, allocations: 351.6 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/0.03755, allocations: 2.731 MB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.0381, allocations: 186.3 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.03838, allocations: 95.41 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.03843, allocations: 11.98 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/0.0385, allocations: 49.27 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.435e-06/0.0385, allocations: 0 / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002507/0.04101, allocations: 0.8183 MB / 384.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.0411, allocations: 85.09 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.04166, allocations: 366.2 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.04171, allocations: 29.7 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.04228, allocations: 314.9 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.04248, allocations: 150.8 kB / 385.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.04273, allocations: 103.8 kB / 386 MB, free: 9.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004125/0.04314, allocations: 0.5352 MB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.0434, allocations: 81.08 kB / 386.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.04391, allocations: 287 kB / 386.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.04487, allocations: 413.5 kB / 387.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.04488, allocations: 4 kB / 387.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001502/0.04638, allocations: 0.4959 MB / 387.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.0464, allocations: 7.938 kB / 387.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000894/0.0473, allocations: 273.8 kB / 388 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006803/0.04798, allocations: 107.3 kB / 388.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.04843, allocations: 79.89 kB / 388.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.05329, allocations: 3.707 MB / 391.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.05368, allocations: 23.97 kB / 391.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.05375, allocations: 20 kB / 392 MB, free: 3.367 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: 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.05412, allocations: 188.5 kB / 392.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.05432, allocations: 63.69 kB / 392.2 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.05544, allocations: 288.7 kB / 392.5 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.05548, allocations: 12 kB / 392.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.05548, allocations: 0 / 392.5 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.05549, allocations: 3.984 kB / 392.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.05791, allocations: 0.7988 MB / 393.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.05791, allocations: 0 / 393.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.0585, allocations: 75.95 kB / 393.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.0585, allocations: 0 / 393.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.05854, allocations: 8 kB / 393.4 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.05855, allocations: 4 kB / 393.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.05855, allocations: 0 / 393.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.05979, allocations: 0.5375 MB / 393.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.06, allocations: 55.78 kB / 394 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.06007, allocations: 8 kB / 394 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.06034, allocations: 15.98 kB / 394 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.06042, allocations: 23.95 kB / 394 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.06045, allocations: 8 kB / 394 MB, free: 1.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.06073, allocations: 239 kB / 394.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06073, allocations: 0 / 394.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00055/0.06128, allocations: 119.9 kB / 394.4 MB, free: 0.8398 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.06158, allocations: 135.1 kB / 394.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.06267, allocations: 0.648 MB / 395.2 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.06268, allocations: 0 / 395.2 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.06293, allocations: 127.5 kB / 395.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.06345, allocations: 72.28 kB / 395.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.06508, allocations: 0.9205 MB / 396.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.06539, allocations: 253.5 kB / 396.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.06563, allocations: 83.19 kB / 396.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.06573, allocations: 36.48 kB / 396.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.06573, allocations: 0 / 396.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of Templates: time 0.01045/0.07619, allocations: 4.294 MB / 400.9 MB, free: 10.23 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.985636180033907]