Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001114/0.001114, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00125/0.00125, allocations: 167.7 kB / 24.82 MB, free: 8.883 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.246/0.246, allocations: 29.42 MB / 291.2 MB, free: 2.457 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.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.3e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002048/0.002061, allocations: 2.272 MB / 372.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.003984, allocations: 1.93 MB / 374.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.004029, allocations: 3.938 kB / 374.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004137, allocations: 15.86 kB / 374.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-05/0.004207, allocations: 31.77 kB / 374.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.00571, allocations: 0.9779 MB / 375.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.005806, allocations: 75.69 kB / 375.4 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.005836, allocations: 8.172 kB / 375.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.00593, allocations: 47.83 kB / 375.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.005994, allocations: 39.88 kB / 375.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.006005, allocations: 7.984 kB / 375.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.007989, allocations: 1.894 MB / 377.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.008036, allocations: 47.8 kB / 377.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.008067, allocations: 27.86 kB / 377.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.00934, allocations: 1.547 MB / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.009342, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009342, allocations: 0 / 379 MB, free: 1.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.009345, allocations: 0 / 379 MB, free: 1.766 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004838/0.009829, allocations: 0.6445 MB / 379.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.009861, allocations: 11.98 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.009893, allocations: 20.8 kB / 379.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.009998, allocations: 156.2 kB / 379.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.01001, allocations: 4.375 kB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.01002, allocations: 7.922 kB / 379.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.01012, allocations: 113.3 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-06/0.01013, allocations: 0 / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.01013, allocations: 0 / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.01013, allocations: 0 / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.01018, allocations: 81.94 kB / 380.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.136e-05/0.01026, allocations: 125.7 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.01032, allocations: 97.08 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.01037, allocations: 89.73 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-06/0.01037, allocations: 0 / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01039, allocations: 41.31 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 6.02e-07/0.01039, allocations: 0 / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003031/0.0107, allocations: 430.4 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.01074, allocations: 105.1 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.01083, allocations: 221.8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.01084, allocations: 25.7 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.01089, allocations: 155.5 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.01097, allocations: 138.8 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.01101, allocations: 55.36 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01111, allocations: 0.5118 MB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.01116, allocations: 81.67 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.0112, allocations: 74.67 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01132, allocations: 203.2 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01132, allocations: 0 / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001841/0.0115, allocations: 292.7 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.01155, allocations: 85.56 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01155, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.01156, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.01156, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.01156, allocations: 4.062 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.01161, allocations: 23.78 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01162, allocations: 12 kB / 382.8 MB, free: 13.71 MB / 362.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.0003477/0.01197, allocations: 238.2 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.012, allocations: 39.8 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.01202, allocations: 18.64 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.01202, allocations: 0 / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01202, allocations: 0 / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01202, allocations: 0 / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.0121, allocations: 141.1 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.0121, allocations: 4 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.0121, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-07/0.0121, allocations: 0 / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01211, allocations: 8 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01211, allocations: 3.938 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01211, allocations: 3.938 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.01241, allocations: 455.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01242, allocations: 31.72 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01244, allocations: 4 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.678e-05/0.01247, allocations: 11.94 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.01248, allocations: 4 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01249, allocations: 19.97 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.519e-05/0.01254, allocations: 152.1 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01254, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.01304, allocations: 359.4 kB / 384.3 MB, free: 12.17 MB / 362.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.0005492/0.01359, allocations: 414.2 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.01386, allocations: 374.2 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01386, allocations: 4.062 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.014, allocations: 252.6 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.01415, allocations: 23.98 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.0147, allocations: 0.5275 MB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.01475, allocations: 91.81 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.022e-05/0.01476, allocations: 11.92 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.01488, allocations: 118.2 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01489, allocations: 0 / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.009231/0.02412, allocations: 9.087 MB / 395.1 MB, free: 1.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.1529358131811023]