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.00134/0.00134, allocations: 79.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.001666/0.001666, allocations: 161.4 kB / 24.55 MB, free: 24 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.293 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.2353/0.2353, allocations: 29.41 MB / 290.9 MB, free: 2.398 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.Source,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.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,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.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.938e-06/3.938e-06, allocations: 3.984 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/3.119e-05, allocations: 2.312 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005999/0.00603, allocations: 4.166 MB / 373.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.008899, allocations: 1.523 MB / 375.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.009188, allocations: 15.88 kB / 375.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.01003, allocations: 242.8 kB / 375.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.01079, allocations: 294.3 kB / 375.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.01158, allocations: 259.2 kB / 376.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009636/0.01255, allocations: 0.6117 MB / 376.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.01306, allocations: 199.9 kB / 376.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.01389, allocations: 406.9 kB / 377.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.01444, allocations: 343.1 kB / 377.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01455, allocations: 40 kB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006361/0.01518, allocations: 227.6 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.0155, allocations: 247.4 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.01582, allocations: 175.6 kB / 378.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.01716, allocations: 0.5373 MB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.01717, allocations: 0 / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.01717, allocations: 3.938 kB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.0172, allocations: 4 kB / 378.9 MB, free: 1.699 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.001729/0.01893, allocations: 0.7977 MB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.01898, allocations: 15.98 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.0199, allocations: 164.4 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.02056, allocations: 361.7 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.0206, allocations: 29.38 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.02076, allocations: 56.59 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/0.02165, allocations: 468.6 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.02168, allocations: 0 / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.02173, allocations: 19.98 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.02194, allocations: 68.94 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.02267, allocations: 301.7 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.02613, allocations: 2.616 MB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.02649, allocations: 174.8 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.02666, allocations: 87.64 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.0267, allocations: 8.234 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.02674, allocations: 49.31 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.02674, allocations: 4 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001684/0.02842, allocations: 0.8025 MB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.02848, allocations: 81.11 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.02878, allocations: 322.2 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.02881, allocations: 29.7 kB / 385.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02899, allocations: 310.9 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.0291, allocations: 142.8 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.02923, allocations: 99.78 kB / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.02943, allocations: 0.5235 MB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.0296, allocations: 77.08 kB / 386.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.02986, allocations: 262.9 kB / 386.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.03035, allocations: 377.8 kB / 387.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.03036, allocations: 0 / 387.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009429/0.0313, allocations: 475.9 kB / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.03133, allocations: 4 kB / 387.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005391/0.03187, allocations: 261.8 kB / 387.8 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.03229, allocations: 103.2 kB / 387.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.0326, allocations: 83.88 kB / 388 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.03517, allocations: 3.652 MB / 391.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.03544, allocations: 19.98 kB / 391.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.03549, allocations: 23.98 kB / 391.7 MB, free: 4.09 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.0002148/0.0357, allocations: 188.5 kB / 391.9 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.03584, allocations: 47.75 kB / 391.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.03636, allocations: 280.7 kB / 392.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.03638, allocations: 15.98 kB / 392.2 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.03639, allocations: 0 / 392.2 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.03639, allocations: 3.938 kB / 392.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.03763, allocations: 0.7363 MB / 392.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.03764, allocations: 0 / 392.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.03787, allocations: 68.02 kB / 393 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.03787, allocations: 0 / 393 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.4e-05/0.03789, allocations: 11.98 kB / 393 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.0379, allocations: 7.938 kB / 393 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0379, allocations: 0 / 393 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.03841, allocations: 0.5102 MB / 393.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.03851, allocations: 55.73 kB / 393.6 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.03854, allocations: 8 kB / 393.6 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.03863, allocations: 19.97 kB / 393.6 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.03867, allocations: 23.89 kB / 393.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.0387, allocations: 20 kB / 393.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.03882, allocations: 211 kB / 393.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03882, allocations: 0 / 393.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.03923, allocations: 119.9 kB / 394 MB, free: 1.68 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.0001991/0.03943, allocations: 139.2 kB / 394.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006552/0.04008, allocations: 0.6127 MB / 394.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.04009, allocations: 0 / 394.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.04022, allocations: 115.5 kB / 394.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.04056, allocations: 65.36 kB / 394.9 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.04198, allocations: 0.9355 MB / 395.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.463e-05/0.04208, allocations: 145 kB / 396 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.04223, allocations: 83.19 kB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.04229, allocations: 40.42 kB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04229, allocations: 0 / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Templates: time 0.006664/0.04896, allocations: 4.498 MB / 400.6 MB, free: 11.01 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","",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.2226320691406727]