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.001/0.001, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.00103/0.00103, allocations: 166.6 kB / 24.91 MB, free: 8.77 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2345/0.2345, allocations: 29.42 MB / 291.2 MB, free: 2.445 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.764e-06/1.764e-06, allocations: 0 / 316.8 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.18e-05, allocations: 5.359 kB / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006901/0.006933, allocations: 4.354 MB / 321.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.00984, allocations: 1.247 MB / 322.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.01018, allocations: 27.81 kB / 322.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.0112, allocations: 298.5 kB / 322.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.01185, allocations: 242.4 kB / 323 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.01243, allocations: 191.4 kB / 323.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.01321, allocations: 0.5569 MB / 323.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.01392, allocations: 286 kB / 324 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008003/0.01472, allocations: 387 kB / 324.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.01513, allocations: 215.3 kB / 324.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.01519, allocations: 32 kB / 324.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.01554, allocations: 131.8 kB / 324.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.01576, allocations: 199.4 kB / 325 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.01595, allocations: 151.7 kB / 325.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.01661, allocations: 394.6 kB / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.01661, allocations: 3.984 kB / 325.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01661, allocations: 0 / 325.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01663, allocations: 0 / 325.5 MB, free: 7.332 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.00106/0.01768, allocations: 0.6212 MB / 326.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.01773, allocations: 19.98 kB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.01832, allocations: 104.8 kB / 326.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.01884, allocations: 320.3 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.01887, allocations: 29.36 kB / 326.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.01899, allocations: 40.69 kB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01945, allocations: 315.8 kB / 326.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01947, allocations: 3.938 kB / 326.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.01951, allocations: 16 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.965e-05/0.0196, allocations: 24.98 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.01983, allocations: 110.9 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.02204, allocations: 1.152 MB / 328.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.02226, allocations: 91.94 kB / 328.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.722e-05/0.02234, allocations: 49.7 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.02236, allocations: 4 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.02239, allocations: 38.56 kB / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.02239, allocations: 0 / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008677/0.02326, allocations: 382 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.02331, allocations: 81.05 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.02353, allocations: 274.9 kB / 329.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.02355, allocations: 33.83 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.02368, allocations: 232.4 kB / 329.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.02374, allocations: 75.41 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.02383, allocations: 61.62 kB / 329.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.02395, allocations: 346.7 kB / 329.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.02401, allocations: 27.73 kB / 329.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.02414, allocations: 132.5 kB / 330 MB, free: 2.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.02436, allocations: 201.8 kB / 330.2 MB, free: 2.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02437, allocations: 4 kB / 330.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000455/0.02482, allocations: 244.6 kB / 330.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.02484, allocations: 11.94 kB / 330.5 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/0.02506, allocations: 106.2 kB / 330.6 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.02534, allocations: 64.06 kB / 330.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.02552, allocations: 59.91 kB / 330.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009391/0.02646, allocations: 1.292 MB / 332 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.02656, allocations: 11.95 kB / 332 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.02657, allocations: 11.98 kB / 332 MB, free: 356 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 0.0001088/0.02668, allocations: 128.6 kB / 332.1 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.02671, allocations: 23.98 kB / 332.2 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.02688, allocations: 151.6 kB / 332.3 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.02688, allocations: 0 / 332.3 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.02688, allocations: 0 / 332.3 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.02689, allocations: 12.02 kB / 332.3 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.02738, allocations: 420 kB / 332.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02739, allocations: 0 / 332.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.02752, allocations: 43.98 kB / 332.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.02752, allocations: 7.984 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.02754, allocations: 8 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.02754, allocations: 0 / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.02754, allocations: 3.938 kB / 332.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.02777, allocations: 272.8 kB / 333.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.02781, allocations: 27.77 kB / 333.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.02783, allocations: 12 kB / 333.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.0279, allocations: 8 kB / 333.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.02793, allocations: 15.91 kB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.02794, allocations: 8 kB / 333.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.663e-05/0.02803, allocations: 104.5 kB / 333.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02803, allocations: 0 / 333.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.02828, allocations: 84 kB / 333.3 MB, free: 14.96 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 0.0001343/0.02842, allocations: 89.2 kB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.02875, allocations: 269.5 kB / 333.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.02876, allocations: 0 / 333.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.02883, allocations: 62.09 kB / 333.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.02917, allocations: 77.09 kB / 333.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.03081, allocations: 0.7648 MB / 334.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.251e-05/0.0309, allocations: 132.6 kB / 334.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.03102, allocations: 42.89 kB / 334.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.03115, allocations: 107.3 kB / 334.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03115, allocations: 0 / 334.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Templates: time 0.006121/0.03727, allocations: 3.744 MB / 338.6 MB, free: 9.699 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 -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: 3.0363412499427795]