Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.00101/0.00101, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000985/0.000985, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2347/0.2347, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.817e-05, allocations: 3.844 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00571/0.005728, allocations: 4.385 MB / 321.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.007293, allocations: 1.258 MB / 322.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.007471, allocations: 19.81 kB / 322.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.008089, allocations: 302.5 kB / 322.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.008402, allocations: 234.5 kB / 323.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.008687, allocations: 183.4 kB / 323.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.009078, allocations: 0.5529 MB / 323.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.009379, allocations: 294 kB / 324.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.009768, allocations: 399 kB / 324.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.009982, allocations: 207.4 kB / 324.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.01002, allocations: 28 kB / 324.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.01021, allocations: 135.7 kB / 324.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.01035, allocations: 207.4 kB / 325.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01046, allocations: 147.7 kB / 325.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.01078, allocations: 398.6 kB / 325.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.01079, allocations: 0 / 325.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01079, allocations: 0 / 325.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01079, allocations: 0 / 325.6 MB, free: 7.199 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006058/0.0114, allocations: 0.6136 MB / 326.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.01143, allocations: 19.92 kB / 326.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/0.0118, allocations: 116.8 kB / 326.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.01214, allocations: 320.3 kB / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01215, allocations: 25.38 kB / 326.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.01223, allocations: 40.73 kB / 326.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.01253, allocations: 319.7 kB / 327 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01254, allocations: 0 / 327 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.01256, allocations: 19.98 kB / 327 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.01262, allocations: 24.98 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.01276, allocations: 110.8 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01379, allocations: 1.144 MB / 328.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.01394, allocations: 99.88 kB / 328.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.01399, allocations: 45.7 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.01401, allocations: 4 kB / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.01403, allocations: 42.5 kB / 328.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.01403, allocations: 4 kB / 328.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005552/0.01459, allocations: 363.2 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.01462, allocations: 89.05 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01477, allocations: 274.8 kB / 329.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.01479, allocations: 29.7 kB / 329.3 MB, free: 3.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.01488, allocations: 236.4 kB / 329.5 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.01493, allocations: 79.39 kB / 329.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.01499, allocations: 57.64 kB / 329.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.01509, allocations: 350.9 kB / 330 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.01514, allocations: 31.73 kB / 330 MB, free: 2.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.01522, allocations: 132.5 kB / 330.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01539, allocations: 197.9 kB / 330.3 MB, free: 2.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01539, allocations: 0 / 330.3 MB, free: 2.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003327/0.01572, allocations: 248.8 kB / 330.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01573, allocations: 8 kB / 330.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/0.01589, allocations: 110.2 kB / 330.7 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.0161, allocations: 67.8 kB / 330.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.01626, allocations: 67.89 kB / 330.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.01706, allocations: 1.28 MB / 332.1 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.01714, allocations: 15.95 kB / 332.1 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01716, allocations: 20.02 kB / 332.1 MB, free: 208 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 9.054e-05/0.01725, allocations: 128.5 kB / 332.2 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.01729, allocations: 23.98 kB / 332.3 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.01746, allocations: 147.6 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01747, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01747, allocations: 8.125 kB / 332.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01747, allocations: 3.984 kB / 332.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.01792, allocations: 422.6 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01792, allocations: 4 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.01812, allocations: 63.89 kB / 332.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01812, allocations: 0 / 332.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01814, allocations: 4 kB / 332.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.01814, allocations: 11.97 kB / 332.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01814, allocations: 3.938 kB / 332.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.01836, allocations: 272.9 kB / 333.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.01839, allocations: 31.75 kB / 333.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01841, allocations: 8 kB / 333.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.01848, allocations: 7.938 kB / 333.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.01851, allocations: 15.97 kB / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01851, allocations: 0 / 333.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.01858, allocations: 108.6 kB / 333.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01858, allocations: 0 / 333.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.0188, allocations: 84 kB / 333.4 MB, free: 14.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * Array equations: 0 * 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 7.589e-05/0.01888, allocations: 84.36 kB / 333.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.01918, allocations: 269.5 kB / 333.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01918, allocations: 4 kB / 333.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.01924, allocations: 56.7 kB / 333.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01951, allocations: 82.66 kB / 333.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.02059, allocations: 0.7565 MB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.932e-05/0.02067, allocations: 132.5 kB / 334.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.02076, allocations: 39 kB / 334.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.02091, allocations: 111.3 kB / 335 MB, free: 13.21 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02091, allocations: 0 / 335 MB, free: 13.21 MB / 314.7 MB Notification: Performance of Templates: time 0.005507/0.02642, allocations: 3.883 MB / 338.8 MB, free: 9.414 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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: 2.9143284698948264]