Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0007702/0.0007702, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003125/0.003125, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8614/0.8614, allocations: 177.1 MB / 205 MB, free: 5.746 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.22/0.22, allocations: 29.41 MB / 290.8 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.928e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002129/0.002148, allocations: 2.175 MB / 433.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.004135, allocations: 1.903 MB / 435.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.004178, allocations: 7.938 kB / 435.6 MB, free: 8.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.004296, allocations: 7.922 kB / 435.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.004367, allocations: 39.77 kB / 435.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.005698, allocations: 0.9693 MB / 436.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.005792, allocations: 79.62 kB / 436.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.005829, allocations: 192 / 436.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005939, allocations: 47.83 kB / 436.7 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.006002, allocations: 43.88 kB / 436.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.006013, allocations: 4 kB / 436.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.007629, allocations: 1.894 MB / 438.7 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.007669, allocations: 19.92 kB / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.007696, allocations: 11.94 kB / 438.7 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.008771, allocations: 1.481 MB / 440.2 MB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008775, allocations: 4 kB / 440.2 MB, free: 4.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008776, allocations: 7.938 kB / 440.2 MB, free: 4.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.00878, allocations: 0 / 440.2 MB, free: 4.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004643/0.009245, allocations: 474.3 kB / 440.7 MB, free: 3.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.009279, allocations: 8.031 kB / 440.7 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.009314, allocations: 8.891 kB / 440.7 MB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.009443, allocations: 125.6 kB / 440.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.009454, allocations: 7.938 kB / 440.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.009463, allocations: 3.938 kB / 440.8 MB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.009607, allocations: 111.4 kB / 440.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.009615, allocations: 0 / 440.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.009624, allocations: 8 kB / 440.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.009629, allocations: 0 / 440.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.009695, allocations: 85.61 kB / 441 MB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.009801, allocations: 109.3 kB / 441.1 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.009886, allocations: 100.2 kB / 441.2 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.009945, allocations: 82.56 kB / 441.3 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.009951, allocations: 0 / 441.3 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.009973, allocations: 34.56 kB / 441.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 6.61e-07/0.009973, allocations: 0 / 441.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002883/0.01026, allocations: 294.8 kB / 441.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.0103, allocations: 93.09 kB / 441.7 MB, free: 2.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.01039, allocations: 140.6 kB / 441.8 MB, free: 2.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.0104, allocations: 25.7 kB / 441.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.01043, allocations: 92.14 kB / 442 MB, free: 2.371 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.01047, allocations: 43.64 kB / 442 MB, free: 2.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.0105, allocations: 21.7 kB / 442 MB, free: 2.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.01058, allocations: 314.8 kB / 442.3 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.01064, allocations: 81.67 kB / 442.4 MB, free: 1.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.01069, allocations: 81.94 kB / 442.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.01081, allocations: 184.2 kB / 442.7 MB, free: 1.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01081, allocations: 3.938 kB / 442.7 MB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.01096, allocations: 217 kB / 442.9 MB, free: 1.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.011, allocations: 49.69 kB / 442.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01101, allocations: 0 / 442.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01102, allocations: 0 / 442.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.01102, allocations: 3.938 kB / 442.9 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01103, allocations: 3.984 kB / 442.9 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.01106, allocations: 11.89 kB / 442.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01108, allocations: 4 kB / 443 MB, free: 1.305 MB / 410.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 7.992e-05/0.01116, allocations: 167.5 kB / 443.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.01116, allocations: 11.95 kB / 443.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.01118, allocations: 8.812 kB / 443.1 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01118, allocations: 0 / 443.1 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01118, allocations: 3.984 kB / 443.1 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01118, allocations: 4 kB / 443.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.962e-05/0.01124, allocations: 113.3 kB / 443.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01125, allocations: 3.938 kB / 443.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.01125, allocations: 0 / 443.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.01125, allocations: 4 kB / 443.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01126, allocations: 4 kB / 443.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01126, allocations: 4 kB / 443.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.01126, allocations: 0 / 443.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.01147, allocations: 328.3 kB / 443.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.01148, allocations: 15.83 kB / 443.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.0115, allocations: 0 / 443.6 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.01151, allocations: 4 kB / 443.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.01153, allocations: 7.984 kB / 443.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01154, allocations: 15.94 kB / 443.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.01157, allocations: 95.27 kB / 443.7 MB, free: 460 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 443.7 MB, free: 460 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004029/0.01198, allocations: 327.4 kB / 444 MB, free: 132 kB / 410.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.1345/0.1465, allocations: 402.3 kB / 444.4 MB, free: 54.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1468, allocations: 311.2 kB / 444.7 MB, free: 54.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1468, allocations: 0 / 444.7 MB, free: 54.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.1468, allocations: 193 kB / 444.9 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1471, allocations: 13.44 kB / 444.9 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1474, allocations: 373.5 kB / 445.3 MB, free: 53.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.1474, allocations: 93.61 kB / 445.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.1475, allocations: 8.5 kB / 445.4 MB, free: 53.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1475, allocations: 0 / 445.4 MB, free: 53.88 MB / 410.7 MB Notification: Performance of Templates: time 0.004538/0.152, allocations: 6.017 MB / 451.4 MB, free: 53.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.04846363980323]