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.0009759/0.0009759, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009694/0.0009694, allocations: 165 kB / 24.56 MB, free: 16 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.9458/0.9458, allocations: 177.1 MB / 205 MB, free: 5.301 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.2451/0.2451, allocations: 29.42 MB / 290.9 MB, free: 2.461 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.704e-06/1.704e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.154e-05, allocations: 6.25 kB / 369.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004729/0.004761, allocations: 4.359 MB / 374 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.00671, allocations: 1.246 MB / 375.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.006941, allocations: 15.88 kB / 375.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.007717, allocations: 310.5 kB / 375.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.008187, allocations: 234.5 kB / 375.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.008647, allocations: 195.3 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.009226, allocations: 0.5566 MB / 376.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.009618, allocations: 250.2 kB / 376.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.01014, allocations: 398.9 kB / 377.2 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.01041, allocations: 219.4 kB / 377.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.01045, allocations: 28 kB / 377.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.0107, allocations: 139.7 kB / 377.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.01086, allocations: 195.5 kB / 377.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.01099, allocations: 155.6 kB / 377.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.01146, allocations: 386.7 kB / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01147, allocations: 0 / 378.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01147, allocations: 7.938 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.01148, allocations: 4 kB / 378.3 MB, free: 2.332 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008149/0.01229, allocations: 0.7464 MB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01233, allocations: 15.98 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.01278, allocations: 128.5 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.01315, allocations: 345.8 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.01317, allocations: 25.38 kB / 379.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.01326, allocations: 48.62 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.01367, allocations: 342 kB / 379.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01368, allocations: 0 / 379.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.01371, allocations: 23.98 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/0.01378, allocations: 28.92 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.01402, allocations: 153.8 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.01547, allocations: 1.567 MB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.0157, allocations: 126.1 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.01578, allocations: 67.34 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.0158, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.01582, allocations: 33.39 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.01583, allocations: 4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009358/0.01676, allocations: 0.5417 MB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01681, allocations: 81.11 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.01704, allocations: 346.2 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.01706, allocations: 29.7 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.01721, allocations: 302.8 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.01725, allocations: 71.39 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.01734, allocations: 75.28 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01749, allocations: 0.5118 MB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.01756, allocations: 43.83 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.0177, allocations: 187.3 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.01792, allocations: 257.8 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01792, allocations: 0 / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004505/0.01837, allocations: 316.8 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01839, allocations: 8.062 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/0.01861, allocations: 145.8 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.01887, allocations: 67.56 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01902, allocations: 63.91 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.02011, allocations: 1.857 MB / 386.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.02021, allocations: 8 kB / 386.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.02023, allocations: 12 kB / 386.8 MB, free: 9.242 MB / 362.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.0001172/0.02035, allocations: 184.4 kB / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.02039, allocations: 35.83 kB / 387 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.02062, allocations: 185.1 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.02062, allocations: 3.984 kB / 387.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.02062, allocations: 4 kB / 387.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.02063, allocations: 0 / 387.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.02126, allocations: 0.6097 MB / 387.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02126, allocations: 0 / 387.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.02141, allocations: 47.97 kB / 387.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02142, allocations: 8.062 kB / 387.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.02144, allocations: 4 kB / 387.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.02144, allocations: 7.984 kB / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.02144, allocations: 0 / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.02186, allocations: 382.5 kB / 388.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.02191, allocations: 35.7 kB / 388.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.02195, allocations: 11.98 kB / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.02209, allocations: 4 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.02213, allocations: 19.97 kB / 388.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.02215, allocations: 7.938 kB / 388.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.02233, allocations: 231 kB / 388.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02233, allocations: 0 / 388.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.02261, allocations: 87.94 kB / 388.7 MB, free: 7.301 MB / 362.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.0001168/0.02273, allocations: 95.25 kB / 388.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.02324, allocations: 355.5 kB / 389.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02324, allocations: 8.125 kB / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.02334, allocations: 68.75 kB / 389.2 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.02368, allocations: 70.69 kB / 389.2 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.0251, allocations: 0.8057 MB / 390 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.0252, allocations: 132.4 kB / 390.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.02533, allocations: 62.91 kB / 390.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.02539, allocations: 28.5 kB / 390.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02539, allocations: 0 / 390.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of Templates: time 0.006018/0.03141, allocations: 3.666 MB / 393.9 MB, free: 1.98 MB / 362.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: 2.957252083811909]