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.001597/0.001597, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001635/0.001635, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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.391/1.391, allocations: 177.2 MB / 204.3 MB, free: 9.148 MB / 190.1 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.1671/0.1671, allocations: 29.43 MB / 290.1 MB, free: 3.258 MB / 270.1 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.653e-06/1.653e-06, allocations: 0 / 430.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.808e-05, allocations: 2.281 kB / 430.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003241/0.003269, allocations: 2.149 MB / 432.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.00411, allocations: 0.522 MB / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.004151, allocations: 7.938 kB / 433.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.004294, allocations: 11.92 kB / 433.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.004375, allocations: 19.91 kB / 433.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.00475, allocations: 79.69 kB / 433.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.004876, allocations: 71.73 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.004921, allocations: 4 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005068, allocations: 43.77 kB / 433.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.005125, allocations: 27.91 kB / 433.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.005136, allocations: 3.938 kB / 433.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.005339, allocations: 95.8 kB / 433.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.005396, allocations: 31.86 kB / 433.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.005427, allocations: 15.92 kB / 433.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005642, allocations: 127.6 kB / 433.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005645, allocations: 0 / 433.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005646, allocations: 0 / 433.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005651, allocations: 0 / 433.9 MB, free: 14.68 MB / 366.1 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.0004466/0.006098, allocations: 362.7 kB / 434.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.006133, allocations: 15.98 kB / 434.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.006178, allocations: 16.78 kB / 434.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.006344, allocations: 133.5 kB / 434.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.006354, allocations: 4.375 kB / 434.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.006364, allocations: 4.375 kB / 434.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.006576, allocations: 155.8 kB / 434.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006586, allocations: 3.938 kB / 434.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.006594, allocations: 0 / 434.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.0066, allocations: 3.984 kB / 434.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.006739, allocations: 125.6 kB / 434.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.006875, allocations: 121.2 kB / 434.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.007033, allocations: 140.2 kB / 435 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.00716, allocations: 134.5 kB / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.007164, allocations: 4 kB / 435.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.007201, allocations: 38.56 kB / 435.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.007202, allocations: 0 / 435.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005385/0.007741, allocations: 461.5 kB / 435.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.007807, allocations: 97.11 kB / 435.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.007934, allocations: 136.6 kB / 435.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.00795, allocations: 25.7 kB / 435.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.008008, allocations: 92.64 kB / 436 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.008087, allocations: 79.3 kB / 436 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.008127, allocations: 25.7 kB / 436.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.008272, allocations: 326.9 kB / 436.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.008402, allocations: 125.7 kB / 436.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.00852, allocations: 121.7 kB / 436.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.008807, allocations: 286.2 kB / 436.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008809, allocations: 0 / 436.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003251/0.009134, allocations: 311.8 kB / 437.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.009204, allocations: 61.66 kB / 437.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00921, allocations: 3.938 kB / 437.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.009229, allocations: 7.984 kB / 437.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.00923, allocations: 0 / 437.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.009234, allocations: 0 / 437.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.00927, allocations: 15.95 kB / 437.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.009295, allocations: 7.938 kB / 437.3 MB, free: 11.04 MB / 366.1 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.0001845/0.00948, allocations: 191.5 kB / 437.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.009504, allocations: 15.91 kB / 437.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.009526, allocations: 17.22 kB / 437.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.009527, allocations: 0 / 437.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.00953, allocations: 0 / 437.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.009532, allocations: 0 / 437.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.009647, allocations: 129.2 kB / 437.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.009647, allocations: 0 / 437.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.009648, allocations: 4 kB / 437.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.009653, allocations: 3.984 kB / 437.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.009667, allocations: 4 kB / 437.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.00967, allocations: 3.938 kB / 437.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009671, allocations: 0 / 437.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.01024, allocations: 0.4963 MB / 438.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.01026, allocations: 15.84 kB / 438.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.01028, allocations: 4 kB / 438.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.01031, allocations: 7.938 kB / 438.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.01034, allocations: 11.98 kB / 438.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.01035, allocations: 7.938 kB / 438.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.01042, allocations: 103.3 kB / 438.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01042, allocations: 0 / 438.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.01067, allocations: 47.94 kB / 438.3 MB, free: 9.914 MB / 366.1 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.0002125/0.01088, allocations: 119.2 kB / 438.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.01145, allocations: 0.4945 MB / 439 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01145, allocations: 0 / 439 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.01174, allocations: 293 kB / 439.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01198, allocations: 16.12 kB / 439.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.01271, allocations: 495.7 kB / 439.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01283, allocations: 108.9 kB / 439.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.847e-05/0.01285, allocations: 0 / 439.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.01287, allocations: 12.5 kB / 439.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01287, allocations: 0 / 439.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of Templates: time 0.005211/0.01808, allocations: 2.012 MB / 441.9 MB, free: 6.297 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] 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.40641575306654]