Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.002613/0.002613, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002997/0.002997, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3025/0.3025, allocations: 29.41 MB / 290.5 MB, free: 2.418 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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.734e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003614/0.003641, allocations: 2.179 MB / 371.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.004602, allocations: 0.5416 MB / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.004641, allocations: 0 / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.004776, allocations: 11.92 kB / 371.6 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.004873, allocations: 27.83 kB / 371.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.005269, allocations: 79.69 kB / 371.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.005404, allocations: 59.77 kB / 371.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.005442, allocations: 7.984 kB / 371.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.005605, allocations: 43.78 kB / 371.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.005668, allocations: 23.91 kB / 371.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.00568, allocations: 4 kB / 371.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.005905, allocations: 95.78 kB / 372 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.00598, allocations: 31.86 kB / 372 MB, free: 8.184 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.006014, allocations: 15.92 kB / 372 MB, free: 8.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.006267, allocations: 131.5 kB / 372.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006269, allocations: 0 / 372.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00627, allocations: 0 / 372.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006275, allocations: 0 / 372.1 MB, free: 8.039 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005609/0.006836, allocations: 469.4 kB / 372.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006879, allocations: 15.92 kB / 372.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.006948, allocations: 12.84 kB / 372.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007143, allocations: 136.4 kB / 372.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.007153, allocations: 384 / 372.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.007162, allocations: 384 / 372.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.007326, allocations: 87.95 kB / 372.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007337, allocations: 3.938 kB / 372.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.007345, allocations: 0 / 372.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.007349, allocations: 4 kB / 372.8 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.007429, allocations: 57.69 kB / 372.9 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.007609, allocations: 140.5 kB / 373 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.007737, allocations: 88.69 kB / 373.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.00782, allocations: 69.41 kB / 373.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.00783, allocations: 0 / 373.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.007881, allocations: 37.39 kB / 373.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.196e-06/0.007884, allocations: 3.984 kB / 373.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004255/0.008309, allocations: 285.2 kB / 373.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.008395, allocations: 97.03 kB / 373.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.008568, allocations: 192.9 kB / 373.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.008589, allocations: 25.7 kB / 373.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.008685, allocations: 147.4 kB / 374 MB, free: 5.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.008783, allocations: 87.28 kB / 374 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.008852, allocations: 35.36 kB / 374.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.009142, allocations: 0.4962 MB / 374.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.009214, allocations: 61.69 kB / 374.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.009279, allocations: 61.69 kB / 374.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.009448, allocations: 150.1 kB / 374.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00945, allocations: 0 / 374.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002443/0.009694, allocations: 200.8 kB / 375 MB, free: 4.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.009778, allocations: 65.59 kB / 375.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009782, allocations: 0 / 375.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.009796, allocations: 8 kB / 375.1 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.009799, allocations: 3.984 kB / 375.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.009805, allocations: 4 kB / 375.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.009843, allocations: 15.83 kB / 375.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.009863, allocations: 4 kB / 375.1 MB, free: 4.73 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.0001822/0.01004, allocations: 218.2 kB / 375.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.01008, allocations: 19.91 kB / 375.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.0101, allocations: 13.28 kB / 375.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01011, allocations: 3.938 kB / 375.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01011, allocations: 4 kB / 375.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01011, allocations: 4 kB / 375.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.01027, allocations: 144.5 kB / 375.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01027, allocations: 0 / 375.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.01027, allocations: 0 / 375.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.01027, allocations: 0 / 375.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01028, allocations: 4 kB / 375.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01029, allocations: 0 / 375.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.01029, allocations: 11.92 kB / 375.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.01073, allocations: 321.6 kB / 375.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.01102, allocations: 15.84 kB / 375.9 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.01105, allocations: 4 kB / 375.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.56e-05/0.01108, allocations: 8.031 kB / 375.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.0111, allocations: 11.94 kB / 375.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01112, allocations: 4 kB / 375.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.01122, allocations: 143.1 kB / 376.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 376.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01146, allocations: 43.94 kB / 376.1 MB, free: 3.691 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.0002089/0.01167, allocations: 115.2 kB / 376.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.01208, allocations: 306.4 kB / 376.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01208, allocations: 0 / 376.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.01232, allocations: 217.6 kB / 376.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01255, allocations: 15.94 kB / 376.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.01316, allocations: 364.7 kB / 377.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01328, allocations: 96.8 kB / 377.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.01329, allocations: 0 / 377.2 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.01331, allocations: 12.5 kB / 377.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01331, allocations: 4.062 kB / 377.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of Templates: time 0.005738/0.01905, allocations: 2.028 MB / 379.2 MB, free: 480 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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: 4.764769216999412]