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.00099/0.00099, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009863/0.0009863, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2581/0.2581, allocations: 29.43 MB / 291.2 MB, free: 2.465 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 2.315e-06/2.315e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.799e-05, allocations: 4.109 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003856/0.003884, allocations: 2.321 MB / 319.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.006156, allocations: 1.987 MB / 321.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.006203, allocations: 4 kB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.006319, allocations: 7.922 kB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.006404, allocations: 35.77 kB / 321.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.008022, allocations: 0.9193 MB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.008134, allocations: 83.62 kB / 322.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.008168, allocations: 4.188 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.008283, allocations: 51.81 kB / 322.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.008349, allocations: 47.88 kB / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.008359, allocations: 0 / 322.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.01047, allocations: 1.949 MB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.01053, allocations: 47.84 kB / 324.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.01056, allocations: 23.88 kB / 324.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.01202, allocations: 1.547 MB / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01202, allocations: 0 / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01202, allocations: 0 / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.01202, allocations: 0 / 325.9 MB, free: 6.891 MB / 298.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.0004902/0.01251, allocations: 0.5079 MB / 326.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.01254, allocations: 15.98 kB / 326.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.01257, allocations: 12.86 kB / 326.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.0127, allocations: 157.4 kB / 326.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.0127, allocations: 4.375 kB / 326.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/0.01271, allocations: 3.938 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.01284, allocations: 128.1 kB / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.01284, allocations: 0 / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.01285, allocations: 0 / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.01285, allocations: 0 / 326.7 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.01289, allocations: 74 kB / 326.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.852e-05/0.01296, allocations: 84.38 kB / 326.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.01303, allocations: 92.53 kB / 327 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.01307, allocations: 78.91 kB / 327.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-06/0.01308, allocations: 0 / 327.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.0131, allocations: 38.55 kB / 327.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 6.92e-07/0.0131, allocations: 0 / 327.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0002699/0.01337, allocations: 390.6 kB / 327.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.01341, allocations: 105.1 kB / 327.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.01349, allocations: 162.5 kB / 327.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.01349, allocations: 25.7 kB / 327.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.01352, allocations: 100.8 kB / 327.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.01359, allocations: 130.8 kB / 328 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.01362, allocations: 33.69 kB / 328 MB, free: 4.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.0137, allocations: 334.8 kB / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.01375, allocations: 88.45 kB / 328.4 MB, free: 4.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.0138, allocations: 78.66 kB / 328.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01392, allocations: 202.1 kB / 328.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01392, allocations: 0 / 328.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001754/0.0141, allocations: 260.9 kB / 329 MB, free: 3.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.01415, allocations: 85.56 kB / 329.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01415, allocations: 3.938 kB / 329.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01416, allocations: 4.062 kB / 329.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.01416, allocations: 0 / 329.1 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.01416, allocations: 4 kB / 329.1 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.01421, allocations: 23.78 kB / 329.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.01423, allocations: 8 kB / 329.1 MB, free: 3.453 MB / 298.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 9.965e-05/0.01433, allocations: 194.3 kB / 329.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.01435, allocations: 35.91 kB / 329.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.01437, allocations: 14.59 kB / 329.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01437, allocations: 0 / 329.3 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01437, allocations: 4 kB / 329.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01437, allocations: 4 kB / 329.3 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.888e-05/0.01444, allocations: 101.7 kB / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.01444, allocations: 0 / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.01444, allocations: 0 / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.01444, allocations: 0 / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01446, allocations: 12 kB / 329.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01446, allocations: 0 / 329.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01446, allocations: 7.922 kB / 329.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01474, allocations: 413.9 kB / 329.9 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.01476, allocations: 27.73 kB / 329.9 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01477, allocations: 4 kB / 329.9 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.0148, allocations: 12.03 kB / 329.9 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.01481, allocations: 11.92 kB / 329.9 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.01482, allocations: 8 kB / 329.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.01485, allocations: 36.83 kB / 330 MB, free: 2.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01485, allocations: 4 kB / 330 MB, free: 2.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.01538, allocations: 351.4 kB / 330.3 MB, free: 2.164 MB / 298.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.0006169/0.016, allocations: 410.7 kB / 330.7 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.01626, allocations: 359.5 kB / 331.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.01626, allocations: 4 kB / 331.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01639, allocations: 237.8 kB / 331.3 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.0165, allocations: 19.98 kB / 331.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.01709, allocations: 0.536 MB / 331.9 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.01714, allocations: 95.81 kB / 332 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.144e-05/0.01715, allocations: 7.953 kB / 332 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01729, allocations: 95.36 kB / 332.1 MB, free: 320 kB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01729, allocations: 0 / 332.1 MB, free: 320 kB / 298.7 MB Notification: Performance of Templates: time 0.009353/0.02664, allocations: 8.916 MB / 341 MB, free: 7.43 MB / 314.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 -s gbode -gbm=radauIIA3 -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.16585143096745]