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.001342/0.001342, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001698/0.001698, allocations: 167.3 kB / 25.61 MB, free: 8.582 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.9096/0.9096, allocations: 177.1 MB / 206 MB, free: 4.473 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.1163/0.1163, allocations: 29.43 MB / 292 MB, free: 2.633 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.453e-06/1.453e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.415e-05, allocations: 4.156 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.001736/0.00175, allocations: 2.326 MB / 373.2 MB, free: 29.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009749/0.002725, allocations: 1.051 MB / 374.3 MB, free: 28.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.002769, allocations: 4 kB / 374.3 MB, free: 28.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.002877, allocations: 15.91 kB / 374.3 MB, free: 28.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.00296, allocations: 51.67 kB / 374.3 MB, free: 28.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.003543, allocations: 346.8 kB / 374.7 MB, free: 28.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.003638, allocations: 119.5 kB / 374.8 MB, free: 28.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.003671, allocations: 3.984 kB / 374.8 MB, free: 28.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.003768, allocations: 71.78 kB / 374.9 MB, free: 28.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.003833, allocations: 63.78 kB / 374.9 MB, free: 28.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.003843, allocations: 8 kB / 374.9 MB, free: 28.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.004283, allocations: 0.565 MB / 375.5 MB, free: 27.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.004325, allocations: 39.91 kB / 375.5 MB, free: 27.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.004352, allocations: 23.94 kB / 375.6 MB, free: 27.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.004742, allocations: 0.561 MB / 376.1 MB, free: 27.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.004743, allocations: 0 / 376.1 MB, free: 27.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004744, allocations: 0 / 376.1 MB, free: 27.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004747, allocations: 0 / 376.1 MB, free: 27.06 MB / 314.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.0002945/0.005042, allocations: 0.4895 MB / 376.6 MB, free: 26.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.00507, allocations: 12.03 kB / 376.6 MB, free: 26.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.005102, allocations: 20.78 kB / 376.6 MB, free: 26.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.005204, allocations: 132.5 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.005213, allocations: 384 / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.00522, allocations: 4.375 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.005296, allocations: 94.17 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005303, allocations: 3.938 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.00531, allocations: 4 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005314, allocations: 3.938 kB / 376.9 MB, free: 26.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.005339, allocations: 57.67 kB / 376.9 MB, free: 26.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.855e-05/0.005397, allocations: 109.1 kB / 377 MB, free: 26.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.005442, allocations: 92.73 kB / 377.1 MB, free: 25.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.005467, allocations: 65.41 kB / 377.2 MB, free: 25.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-06/0.005469, allocations: 0 / 377.2 MB, free: 25.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.005482, allocations: 41.38 kB / 377.2 MB, free: 25.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 5.11e-07/0.005482, allocations: 0 / 377.2 MB, free: 25.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001699/0.005652, allocations: 274.9 kB / 377.5 MB, free: 25.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.005672, allocations: 97.03 kB / 377.6 MB, free: 25.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.005719, allocations: 191.8 kB / 377.8 MB, free: 25.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.005725, allocations: 25.7 kB / 377.8 MB, free: 25.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.005747, allocations: 147.2 kB / 378 MB, free: 25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.005779, allocations: 67.45 kB / 378 MB, free: 24.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.005804, allocations: 39.3 kB / 378.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.685e-05/0.005841, allocations: 0.5001 MB / 378.6 MB, free: 24.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.005866, allocations: 61.67 kB / 378.6 MB, free: 24.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.005892, allocations: 55.41 kB / 378.7 MB, free: 24.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.005956, allocations: 149.5 kB / 378.8 MB, free: 24.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.005957, allocations: 0 / 378.8 MB, free: 24.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.525e-05/0.006052, allocations: 197 kB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.006078, allocations: 53.67 kB / 379.1 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006082, allocations: 0 / 379.1 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.006089, allocations: 0 / 379.1 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.00609, allocations: 8 kB / 379.1 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006093, allocations: 3.984 kB / 379.1 MB, free: 23.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.006126, allocations: 7.953 kB / 379.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.006139, allocations: 8 kB / 379.1 MB, free: 23.8 MB / 314.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 5.325e-05/0.006192, allocations: 214.2 kB / 379.3 MB, free: 23.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.006207, allocations: 19.95 kB / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-06/0.006216, allocations: 5.125 kB / 379.3 MB, free: 23.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.006217, allocations: 0 / 379.3 MB, free: 23.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006218, allocations: 3.938 kB / 379.3 MB, free: 23.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006221, allocations: 3.984 kB / 379.3 MB, free: 23.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.394e-05/0.006264, allocations: 125.1 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006265, allocations: 0 / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.006265, allocations: 0 / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.006266, allocations: 3.938 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006272, allocations: 4 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.006273, allocations: 4 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006274, allocations: 0 / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006417, allocations: 307.6 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.006425, allocations: 15.84 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006437, allocations: 4 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.006454, allocations: 4 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.006467, allocations: 12.03 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.006474, allocations: 11.98 kB / 379.8 MB, free: 22.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.072e-05/0.006494, allocations: 141 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006494, allocations: 0 / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000245/0.006739, allocations: 139.7 kB / 380.1 MB, free: 22.72 MB / 314.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.0002278/0.006967, allocations: 193.4 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.00711, allocations: 277 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007111, allocations: 0 / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.007171, allocations: 188.8 kB / 380.7 MB, free: 22.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.0073, allocations: 16 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.007559, allocations: 349.7 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.339e-05/0.007582, allocations: 75.58 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.118e-05/0.007593, allocations: 11.94 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.007673, allocations: 110.2 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007673, allocations: 0 / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004316/0.01199, allocations: 4.296 MB / 385.6 MB, free: 17.18 MB / 314.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.1797919999808073]