Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 108.1 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07185/0.07185, allocations: 16.74 MB / 307.9 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 64.08 kB / 373.1 MB, free: 48.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.0841, allocations: 53.57 MB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001256/0.08537, allocations: 484.3 kB / 427.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.08561, allocations: 115.6 kB / 427.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.08563, allocations: 4 kB / 427.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.504e-06/0.08565, allocations: 0 / 427.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.08585, allocations: 23.92 kB / 427.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.813e-06/0.08585, allocations: 0 / 427.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 2.401e-05/0.08588, allocations: 3.938 kB / 427.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.093e-05/0.08592, allocations: 3.984 kB / 427.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.715e-06/0.08593, allocations: 0 / 427.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.08602, allocations: 15.98 kB / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-06/0.08602, allocations: 0 / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-06/0.08603, allocations: 0 / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-06/0.08604, allocations: 0 / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-06/0.08605, allocations: 0 / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.496e-05/0.08608, allocations: 11.92 kB / 427.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.08609, allocations: 0 / 427.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08609, allocations: 0 / 427.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.0861, allocations: 0 / 427.3 MB, free: 11.32 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001546/0.08626, allocations: 311.6 kB / 427.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.375e-05/0.08629, allocations: 12.03 kB / 427.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.604e-05/0.08631, allocations: 0.9375 kB / 427.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.427e-05/0.08636, allocations: 168.3 kB / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.08637, allocations: 4.375 kB / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.08638, allocations: 4.359 kB / 427.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.849e-05/0.08644, allocations: 39.98 kB / 427.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.08645, allocations: 192 / 427.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.08646, allocations: 7.938 kB / 427.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.08647, allocations: 4 kB / 427.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.305e-05/0.08648, allocations: 7.938 kB / 427.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.08665, allocations: 459.7 kB / 428.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.07e-05/0.08668, allocations: 169.1 kB / 428.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.184e-05/0.0867, allocations: 84.36 kB / 428.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.08672, allocations: 75.28 kB / 428.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.08674, allocations: 117.8 kB / 428.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.08674, allocations: 0 / 428.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 4.623e-05/0.08679, allocations: 33.69 kB / 428.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.08681, allocations: 126.7 kB / 428.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.239e-05/0.08686, allocations: 101.8 kB / 429 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-06/0.08687, allocations: 25.7 kB / 429.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.08689, allocations: 84.05 kB / 429.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.0869, allocations: 4 kB / 429.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.08692, allocations: 13.72 kB / 429.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.08696, allocations: 314.8 kB / 429.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-06/0.08697, allocations: 0 / 429.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.08698, allocations: 17.84 kB / 429.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.875e-05/0.08701, allocations: 21.66 kB / 429.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.08701, allocations: 3.938 kB / 429.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.281e-05/0.08708, allocations: 37.64 kB / 429.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.08709, allocations: 7.984 kB / 429.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.0871, allocations: 0 / 429.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.08711, allocations: 4.062 kB / 429.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.08715, allocations: 8 kB / 429.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.08716, allocations: 0 / 429.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.08717, allocations: 7.906 kB / 429.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-06/0.08718, allocations: 0 / 429.6 MB, free: 8.844 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 3.555e-05/0.08722, allocations: 189.1 kB / 429.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.08726, allocations: 105 kB / 429.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.08729, allocations: 112 kB / 430 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.08732, allocations: 180.3 kB / 430.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.08734, allocations: 180.2 kB / 430.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.08736, allocations: 184.3 kB / 430.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.08747, allocations: 401.2 kB / 430.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.08749, allocations: 104.9 kB / 431 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.0875, allocations: 109 kB / 431.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.08753, allocations: 180.2 kB / 431.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.08755, allocations: 184.3 kB / 431.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.286e-05/0.08758, allocations: 180.2 kB / 431.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-05/0.08761, allocations: 184.2 kB / 431.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.409e-05/0.08766, allocations: 315.7 kB / 432.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.08769, allocations: 182.1 kB / 432.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.08772, allocations: 180.2 kB / 432.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.08777, allocations: 101 kB / 432.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.0878, allocations: 180.3 kB / 432.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.08782, allocations: 108.9 kB / 432.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.454e-05/0.08784, allocations: 79.28 kB / 432.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08784, allocations: 0 / 432.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.08804, allocations: 4 kB / 432.9 MB, free: 5.25 MB / 302.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 4.947e-05/0.08809, allocations: 170.5 kB / 433.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.652e-05/0.08813, allocations: 352 / 433.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.08814, allocations: 8.156 kB / 433.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.08815, allocations: 7.938 kB / 433.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.08837, allocations: 457.7 kB / 433.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.242e-05/0.08847, allocations: 156.4 kB / 433.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.08854, allocations: 0.6729 MB / 434.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.167e-06/0.08856, allocations: 0 / 434.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-06/0.08857, allocations: 11.44 kB / 434.4 MB, free: 3.715 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08858, allocations: 3.938 kB / 434.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of Templates: time 0.0319/0.1205, allocations: 169 kB / 434.6 MB, free: 3.547 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches