Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001092/0.001092, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001128/0.001128, allocations: 161 kB / 24.56 MB, free: 8 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.617 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.2314/0.2314, allocations: 29.43 MB / 290.9 MB, free: 2.512 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_matrixEqCirc3,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_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,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_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.415e-05, allocations: 2.312 kB / 369.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002972/0.002996, allocations: 2.211 MB / 371.9 MB, free: 8.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.003905, allocations: 0.5493 MB / 372.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.003962, allocations: 4 kB / 372.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.004116, allocations: 11.92 kB / 372.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.004222, allocations: 27.78 kB / 372.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.004675, allocations: 71.75 kB / 372.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004826, allocations: 71.69 kB / 372.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.004873, allocations: 7.984 kB / 372.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.005045, allocations: 35.91 kB / 372.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.005101, allocations: 23.91 kB / 372.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.005113, allocations: 0 / 372.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.005335, allocations: 99.72 kB / 372.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.005408, allocations: 47.84 kB / 372.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.005446, allocations: 19.88 kB / 372.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.005701, allocations: 143.5 kB / 373 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.005712, allocations: 7.984 kB / 373 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.005714, allocations: 0 / 373 MB, free: 7.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.005721, allocations: 0 / 373 MB, free: 7.645 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005672/0.006288, allocations: 0.5014 MB / 373.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.00634, allocations: 11.98 kB / 373.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.006404, allocations: 20.8 kB / 373.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.00658, allocations: 144.9 kB / 373.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.006593, allocations: 4.375 kB / 373.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.006605, allocations: 384 / 373.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.006782, allocations: 125.2 kB / 373.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.00679, allocations: 0 / 373.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.0068, allocations: 0 / 373.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.006808, allocations: 0 / 373.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.006883, allocations: 82.02 kB / 373.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.007029, allocations: 145.1 kB / 374 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.007144, allocations: 113.1 kB / 374.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.007216, allocations: 85.73 kB / 374.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.007221, allocations: 4 kB / 374.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.007257, allocations: 45.27 kB / 374.3 MB, free: 6.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.282e-06/0.007258, allocations: 0 / 374.3 MB, free: 6.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004849/0.007743, allocations: 439.5 kB / 374.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.007805, allocations: 105.1 kB / 374.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.007937, allocations: 197.1 kB / 375 MB, free: 5.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007952, allocations: 29.7 kB / 375 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.008014, allocations: 151.5 kB / 375.2 MB, free: 5.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.00812, allocations: 134.8 kB / 375.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.00818, allocations: 51.34 kB / 375.3 MB, free: 5.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.008342, allocations: 0.5079 MB / 375.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.00842, allocations: 81.69 kB / 375.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.008488, allocations: 86.59 kB / 376 MB, free: 4.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.008663, allocations: 215.2 kB / 376.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008666, allocations: 0 / 376.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002895/0.008956, allocations: 300.7 kB / 376.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.009049, allocations: 81.62 kB / 376.6 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.009055, allocations: 4.062 kB / 376.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.00907, allocations: 0 / 376.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-06/0.009075, allocations: 0 / 376.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.00908, allocations: 0 / 376.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.009129, allocations: 19.84 kB / 376.6 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.009192, allocations: 8 kB / 376.6 MB, free: 3.707 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.0001633/0.009355, allocations: 242.2 kB / 376.9 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.009398, allocations: 39.78 kB / 376.9 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.009422, allocations: 13.95 kB / 376.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.009424, allocations: 0 / 376.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.00943, allocations: 3.984 kB / 376.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.009432, allocations: 4 kB / 376.9 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.009557, allocations: 168.4 kB / 377.1 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.009561, allocations: 4 kB / 377.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.009562, allocations: 0 / 377.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.009567, allocations: 3.938 kB / 377.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.009586, allocations: 8 kB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.009588, allocations: 0 / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00959, allocations: 0 / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.0101, allocations: 475.5 kB / 377.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.01013, allocations: 23.78 kB / 377.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.01015, allocations: 8.031 kB / 377.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.01019, allocations: 12 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.01021, allocations: 0 / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.01023, allocations: 8 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.978e-05/0.01031, allocations: 158.3 kB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 0 / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.01062, allocations: 59.94 kB / 377.8 MB, free: 2.418 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.0002158/0.01084, allocations: 115.2 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.01128, allocations: 394.3 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01128, allocations: 64 / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.01151, allocations: 268.6 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01178, allocations: 31.92 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.01252, allocations: 0.4969 MB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.871e-05/0.01259, allocations: 87.81 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.01262, allocations: 4 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.01264, allocations: 12.56 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01264, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Templates: time 0.006468/0.0191, allocations: 2.972 MB / 382.2 MB, free: 13.97 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.07260965090245]