Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001035/0.001035, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009368/0.0009368, allocations: 169.3 kB / 24.82 MB, free: 8.914 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 0.9712/0.9712, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2512/0.2512, 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.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.[0-9,]+.|tc_q.[0-9,]+.|to_d.[0-9,]+.|to_q.[0-9,]+.|xtr_d.[0-9,]+.|xtr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.371e-05, allocations: 6.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002148/0.002162, allocations: 2.32 MB / 372.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.003694, allocations: 1.053 MB / 373.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.00375, allocations: 0 / 373.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003879, allocations: 11.91 kB / 373.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.004003, allocations: 51.73 kB / 373.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.004946, allocations: 342.8 kB / 373.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.00512, allocations: 119.6 kB / 374 MB, free: 6.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.005159, allocations: 4 kB / 374 MB, free: 6.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.005327, allocations: 67.73 kB / 374.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005445, allocations: 71.78 kB / 374.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.005458, allocations: 0 / 374.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.006483, allocations: 0.5688 MB / 374.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.006549, allocations: 43.84 kB / 374.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.006588, allocations: 27.92 kB / 374.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.007297, allocations: 0.561 MB / 375.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007299, allocations: 0 / 375.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007299, allocations: 0 / 375.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.007303, allocations: 0 / 375.4 MB, free: 5.441 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004262/0.007729, allocations: 493.5 kB / 375.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007769, allocations: 8.031 kB / 375.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.00781, allocations: 16.84 kB / 375.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.007946, allocations: 132.4 kB / 376 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.007956, allocations: 8.375 kB / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.007966, allocations: 384 / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.008098, allocations: 107.8 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.008106, allocations: 3.938 kB / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.008114, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.00812, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.008174, allocations: 57.69 kB / 376.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.008293, allocations: 113.1 kB / 376.3 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.008374, allocations: 84.69 kB / 376.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.008426, allocations: 61.41 kB / 376.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.008432, allocations: 12 kB / 376.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.008457, allocations: 33.39 kB / 376.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 9.11e-07/0.008458, allocations: 0 / 376.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002965/0.008755, allocations: 276.8 kB / 376.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.008803, allocations: 93.05 kB / 376.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.00891, allocations: 192.8 kB / 377 MB, free: 3.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.008923, allocations: 25.7 kB / 377 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.00898, allocations: 143.2 kB / 377.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.009043, allocations: 67.42 kB / 377.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.009092, allocations: 35.34 kB / 377.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.009245, allocations: 0.5001 MB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.009299, allocations: 57.72 kB / 377.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.009352, allocations: 61.64 kB / 377.9 MB, free: 2.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.009485, allocations: 149.4 kB / 378 MB, free: 2.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.009487, allocations: 0 / 378 MB, free: 2.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001927/0.00968, allocations: 188.9 kB / 378.2 MB, free: 2.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.009733, allocations: 57.66 kB / 378.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009739, allocations: 0 / 378.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.009753, allocations: 0 / 378.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/0.009756, allocations: 3.938 kB / 378.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009759, allocations: 4 kB / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.009814, allocations: 11.95 kB / 378.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.009834, allocations: 12 kB / 378.3 MB, free: 2.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.009952, allocations: 210.2 kB / 378.5 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.00998, allocations: 19.95 kB / 378.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.01, allocations: 17.11 kB / 378.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01, allocations: 0 / 378.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01001, allocations: 3.938 kB / 378.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01001, allocations: 3.938 kB / 378.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.01012, allocations: 113.2 kB / 378.7 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01012, allocations: 0 / 378.7 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.01012, allocations: 0 / 378.7 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01012, allocations: 4 kB / 378.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01013, allocations: 11.98 kB / 378.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01013, allocations: 0 / 378.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01013, allocations: 0 / 378.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.01044, allocations: 310.6 kB / 379 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01046, allocations: 11.89 kB / 379 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01048, allocations: 7.984 kB / 379 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.01052, allocations: 4 kB / 379 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.01053, allocations: 4 kB / 379 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01055, allocations: 8 kB / 379 MB, free: 1.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.556e-05/0.01061, allocations: 151 kB / 379.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01061, allocations: 4 kB / 379.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.01108, allocations: 131.8 kB / 379.3 MB, free: 1.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0003656/0.01144, allocations: 198.7 kB / 379.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.01175, allocations: 274.4 kB / 379.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01176, allocations: 0 / 379.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.0119, allocations: 180.7 kB / 380 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01213, allocations: 24.12 kB / 380 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01261, allocations: 355.8 kB / 380.3 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01267, allocations: 79.31 kB / 380.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.01269, allocations: 0 / 380.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.01284, allocations: 106.2 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01284, allocations: 0 / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Templates: time 0.007975/0.02081, allocations: 4.253 MB / 384.8 MB, free: 11.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.078041708096862]