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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.0029, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007257/0.0007257, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009799/0.001706, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.904/0.904, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07712/0.9811, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1185/0.1185, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.163/0.2814, allocations: 9.541 MB / 283.1 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 284.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.803e-05, allocations: 6.312 kB / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003323/0.003341, allocations: 2.292 MB / 286.7 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.004296, allocations: 0.5644 MB / 287.3 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.00433, allocations: 3.938 kB / 287.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.608e-05/0.004396, allocations: 11.17 kB / 287.3 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.00446, allocations: 29.61 kB / 287.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.004685, allocations: 74.95 kB / 287.4 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.004774, allocations: 58.05 kB / 287.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.004803, allocations: 6.031 kB / 287.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004915, allocations: 46.33 kB / 287.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.004952, allocations: 32.11 kB / 287.6 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.004961, allocations: 1.281 kB / 287.6 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.005102, allocations: 99.47 kB / 287.7 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.005141, allocations: 30.95 kB / 287.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.851e-05/0.00516, allocations: 12.84 kB / 287.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.005297, allocations: 110.5 kB / 287.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.005306, allocations: 1.125 kB / 287.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005308, allocations: 0 / 287.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.005316, allocations: 0 / 287.8 MB, free: 9.273 MB / 282.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.000274/0.00559, allocations: 355.4 kB / 288.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.005623, allocations: 14.66 kB / 288.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.005651, allocations: 6.781 kB / 288.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.005767, allocations: 138 kB / 288.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.005773, allocations: 384 / 288.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.005782, allocations: 2.188 kB / 288.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.005885, allocations: 104.5 kB / 288.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.005894, allocations: 9.172 kB / 288.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-06/0.005898, allocations: 0 / 288.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005903, allocations: 1.156 kB / 288.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.005943, allocations: 72.73 kB / 288.5 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.919e-05/0.006003, allocations: 64.27 kB / 288.6 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.006067, allocations: 94.58 kB / 288.7 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.006111, allocations: 79.56 kB / 288.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-06/0.006114, allocations: 0 / 288.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.00613, allocations: 32.16 kB / 288.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 5.51e-07/0.006131, allocations: 1.5 kB / 288.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002207/0.006352, allocations: 294.1 kB / 289.1 MB, free: 8.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.006372, allocations: 55.34 kB / 289.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.006441, allocations: 142.2 kB / 289.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.006449, allocations: 25.7 kB / 289.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.006471, allocations: 84.36 kB / 289.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.006516, allocations: 82.95 kB / 289.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.006553, allocations: 25.52 kB / 289.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.006624, allocations: 331.2 kB / 289.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.006673, allocations: 73.17 kB / 289.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.006711, allocations: 69.38 kB / 289.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/0.00681, allocations: 173.1 kB / 290.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006812, allocations: 0 / 290.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001308/0.006942, allocations: 204.5 kB / 290.3 MB, free: 7.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.006988, allocations: 62.59 kB / 290.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.006991, allocations: 0 / 290.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.007, allocations: 5.375 kB / 290.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.007001, allocations: 4.062 kB / 290.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.007007, allocations: 3.938 kB / 290.4 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.007031, allocations: 17.7 kB / 290.4 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.007045, allocations: 3.938 kB / 290.4 MB, free: 7.172 MB / 282.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.899e-05/0.007124, allocations: 179.8 kB / 290.6 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.00714, allocations: 17.73 kB / 290.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.007154, allocations: 12.02 kB / 290.6 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007156, allocations: 0 / 290.6 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.007158, allocations: 3.938 kB / 290.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.00716, allocations: 1.375 kB / 290.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.487e-05/0.007214, allocations: 86.16 kB / 290.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.007215, allocations: 0 / 290.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.007216, allocations: 0 / 290.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007227, allocations: 21.34 kB / 290.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.007228, allocations: 0 / 290.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007235, allocations: 4.125 kB / 290.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007235, allocations: 0 / 290.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007237, allocations: 1.375 kB / 290.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.007428, allocations: 320.4 kB / 291 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.00744, allocations: 4.125 kB / 291 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.007454, allocations: 4.125 kB / 291 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.007471, allocations: 9.391 kB / 291 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.007478, allocations: 4.125 kB / 291 MB, free: 6.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.0075, allocations: 27.83 kB / 291.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0075, allocations: 1.375 kB / 291.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.007637, allocations: 45.19 kB / 291.1 MB, free: 6.66 MB / 282.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.0001239/0.007761, allocations: 94.47 kB / 291.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.00798, allocations: 291.1 kB / 291.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.007984, allocations: 2.5 kB / 291.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.008145, allocations: 258.4 kB / 291.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.00831, allocations: 169.7 kB / 291.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.008918, allocations: 374.4 kB / 292.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.008955, allocations: 74.61 kB / 292.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.369e-05/0.008969, allocations: 1.531 kB / 292.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.00905, allocations: 75.83 kB / 292.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009051, allocations: 0 / 292.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of Templates: time 0.003327/0.01238, allocations: 2.198 MB / 294.6 MB, free: 4.141 MB / 282.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.594168151728809]