Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.00125/0.00125, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.007806/0.007806, allocations: 157.3 kB / 24.69 MB, free: 9.43 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.9089/0.9089, allocations: 177.1 MB / 205 MB, free: 5.723 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.2377/0.2377, allocations: 29.41 MB / 290.8 MB, free: 2.426 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_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.338e-05, allocations: 6.219 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002098/0.002122, allocations: 2.137 MB / 433.6 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005476/0.002669, allocations: 0.5375 MB / 434.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.002711, allocations: 3.938 kB / 434.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.00288, allocations: 15.92 kB / 434.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.002949, allocations: 27.83 kB / 434.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.003224, allocations: 75.69 kB / 434.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.00332, allocations: 67.75 kB / 434.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.003359, allocations: 0 / 434.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.003479, allocations: 47.77 kB / 434.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.00352, allocations: 35.89 kB / 434.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.003528, allocations: 0 / 434.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.003659, allocations: 91.8 kB / 434.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.003696, allocations: 7.938 kB / 434.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.003716, allocations: 15.92 kB / 434.5 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.003857, allocations: 99.73 kB / 434.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003859, allocations: 0 / 434.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.00386, allocations: 0 / 434.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003865, allocations: 0 / 434.6 MB, free: 9.895 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002778/0.004142, allocations: 315.8 kB / 434.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.004177, allocations: 11.98 kB / 435 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.004211, allocations: 12.89 kB / 435 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004326, allocations: 125.6 kB / 435.1 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.004335, allocations: 4.375 kB / 435.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.004343, allocations: 384 / 435.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004454, allocations: 95.92 kB / 435.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004461, allocations: 3.938 kB / 435.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004469, allocations: 0 / 435.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004473, allocations: 0 / 435.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.004515, allocations: 61.67 kB / 435.3 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.004603, allocations: 105.3 kB / 435.4 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.004665, allocations: 80.19 kB / 435.4 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.004708, allocations: 70.58 kB / 435.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.004713, allocations: 0 / 435.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.004733, allocations: 34.56 kB / 435.5 MB, free: 8.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 6.71e-07/0.004733, allocations: 0 / 435.5 MB, free: 8.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002072/0.004941, allocations: 234.6 kB / 435.8 MB, free: 8.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.004975, allocations: 85.05 kB / 435.8 MB, free: 8.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.005039, allocations: 117.8 kB / 436 MB, free: 8.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.005047, allocations: 25.7 kB / 436 MB, free: 8.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.005076, allocations: 88.12 kB / 436.1 MB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.005106, allocations: 27.75 kB / 436.1 MB, free: 8.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.005134, allocations: 25.73 kB / 436.1 MB, free: 8.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.005205, allocations: 314.8 kB / 436.4 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.005242, allocations: 61.67 kB / 436.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.005273, allocations: 57.69 kB / 436.6 MB, free: 7.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.005351, allocations: 140.5 kB / 436.7 MB, free: 7.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005353, allocations: 3.938 kB / 436.7 MB, free: 7.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001011/0.005454, allocations: 177.1 kB / 436.9 MB, free: 7.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.005486, allocations: 44.5 kB / 436.9 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.00549, allocations: 3.938 kB / 436.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005502, allocations: 0 / 436.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.005502, allocations: 64 / 436.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005507, allocations: 4 kB / 436.9 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.005523, allocations: 7.984 kB / 436.9 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.005535, allocations: 4 kB / 436.9 MB, free: 7.332 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 6.76e-05/0.005602, allocations: 151.5 kB / 437.1 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.005609, allocations: 7.953 kB / 437.1 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.005624, allocations: 12.38 kB / 437.1 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.005627, allocations: 3.984 kB / 437.1 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.00563, allocations: 0 / 437.1 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005632, allocations: 0 / 437.1 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.368e-05/0.005686, allocations: 113.3 kB / 437.2 MB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005686, allocations: 4 kB / 437.2 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.005687, allocations: 0 / 437.2 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005688, allocations: 0 / 437.2 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005694, allocations: 4 kB / 437.2 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005696, allocations: 3.938 kB / 437.2 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005697, allocations: 0 / 437.2 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.005855, allocations: 252.3 kB / 437.5 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-06/0.005862, allocations: 7.891 kB / 437.5 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.005873, allocations: 4 kB / 437.5 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.005883, allocations: 4.312 kB / 437.5 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.005895, allocations: 4 kB / 437.5 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.0059, allocations: 8.016 kB / 437.5 MB, free: 6.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.005931, allocations: 91.22 kB / 437.6 MB, free: 6.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005931, allocations: 4 kB / 437.6 MB, free: 6.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.006067, allocations: 20 kB / 437.6 MB, free: 6.574 MB / 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.000123/0.00619, allocations: 115.2 kB / 437.7 MB, free: 6.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.006369, allocations: 242.7 kB / 438 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.00637, allocations: 0 / 438 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.006442, allocations: 149 kB / 438.1 MB, free: 6.027 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.006594, allocations: 26.84 kB / 438.1 MB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.0069, allocations: 280 kB / 438.4 MB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.006946, allocations: 79.31 kB / 438.5 MB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.00696, allocations: 8.5 kB / 438.5 MB, free: 5.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00696, allocations: 0 / 438.5 MB, free: 5.59 MB / 410.7 MB Notification: Performance of Templates: time 0.001792/0.008753, allocations: 1.122 MB / 439.6 MB, free: 4.473 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.7506044786423445]