Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_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.001194/0.001195, allocations: 106.3 kB / 16.27 MB, free: 5.941 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.001271/0.001271, allocations: 190.7 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06146/0.06146, allocations: 14.17 MB / 284.6 MB, free: 13.93 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.47 kB / 345.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 50.13 MB / 395.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001564/0.2621, allocations: 491.4 kB / 396.3 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.2623, allocations: 119.3 kB / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.2624, allocations: 0 / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.2624, allocations: 0 / 396.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.2627, allocations: 24.86 kB / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.2627, allocations: 0 / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.852e-05/0.2627, allocations: 0 / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.2627, allocations: 1.781 kB / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.2628, allocations: 5.797 kB / 396.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2629, allocations: 13.42 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-06/0.2629, allocations: 2.125 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-06/0.2629, allocations: 4 kB / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-06/0.2629, allocations: 0 / 396.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.031e-05/0.2629, allocations: 3.938 kB / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 2.915e-05/0.2629, allocations: 7.938 kB / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.263, allocations: 0 / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.263, allocations: 2.312 kB / 396.5 MB, free: 47.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.263, allocations: 0 / 396.5 MB, free: 47.38 MB / 318.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.0001767/0.2632, allocations: 309.5 kB / 396.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2632, allocations: 10.62 kB / 396.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.2632, allocations: 0.9375 kB / 396.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.2633, allocations: 168.4 kB / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2633, allocations: 5.281 kB / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2633, allocations: 1.688 kB / 397 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/0.2634, allocations: 42.52 kB / 397.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2634, allocations: 1.438 kB / 397.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2634, allocations: 3.938 kB / 397.1 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2634, allocations: 0 / 397.1 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.2634, allocations: 7.312 kB / 397.1 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2637, allocations: 467.1 kB / 397.5 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/0.2637, allocations: 174.4 kB / 397.7 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.2637, allocations: 84.08 kB / 397.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.2637, allocations: 80.59 kB / 397.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2638, allocations: 105.8 kB / 398 MB, free: 45.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2638, allocations: 1.5 kB / 398 MB, free: 45.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.676e-05/0.2638, allocations: 29.72 kB / 398 MB, free: 45.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.2639, allocations: 132 kB / 398.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.2639, allocations: 96.52 kB / 398.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-06/0.2639, allocations: 25.83 kB / 398.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.239e-05/0.264, allocations: 91.17 kB / 398.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.264, allocations: 0 / 398.3 MB, free: 45.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.264, allocations: 13.25 kB / 398.3 MB, free: 45.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.2641, allocations: 322.8 kB / 398.6 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.2641, allocations: 1.562 kB / 398.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.2641, allocations: 16.19 kB / 398.7 MB, free: 45.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.2641, allocations: 17.56 kB / 398.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2641, allocations: 3.938 kB / 398.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.515e-05/0.2642, allocations: 41.55 kB / 398.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2642, allocations: 8.984 kB / 398.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2642, allocations: 1.281 kB / 398.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2643, allocations: 1.25 kB / 398.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.2643, allocations: 6.547 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2643, allocations: 1.312 kB / 398.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.2643, allocations: 7.969 kB / 398.8 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2643, allocations: 1.312 kB / 398.8 MB, free: 44.96 MB / 318.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 5.041e-05/0.2644, allocations: 190.3 kB / 398.9 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2644, allocations: 111 kB / 399.1 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.2645, allocations: 113.4 kB / 399.2 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.2645, allocations: 176.3 kB / 399.3 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.2645, allocations: 185.5 kB / 399.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.2645, allocations: 177.6 kB / 399.7 MB, free: 43.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.2647, allocations: 410.6 kB / 400.1 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.2647, allocations: 102.2 kB / 400.2 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.2647, allocations: 102.2 kB / 400.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.2647, allocations: 184.2 kB / 400.5 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.2648, allocations: 177.6 kB / 400.6 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-05/0.2648, allocations: 185.5 kB / 400.8 MB, free: 42.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/0.2648, allocations: 177.5 kB / 401 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.265, allocations: 1.078 MB / 402.1 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.265, allocations: 179.2 kB / 402.2 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.2651, allocations: 185.4 kB / 402.4 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.2651, allocations: 114.1 kB / 402.5 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.2652, allocations: 181.3 kB / 402.7 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2652, allocations: 106.3 kB / 402.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.783e-05/0.2652, allocations: 76.38 kB / 402.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2652, allocations: 0 / 402.9 MB, free: 40.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000323/0.2655, allocations: 1.25 kB / 402.9 MB, free: 40.57 MB / 318.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 6.52e-05/0.2656, allocations: 165.5 kB / 403.1 MB, free: 40.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.63e-05/0.2657, allocations: 16.48 kB / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2657, allocations: 0 / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2657, allocations: 0 / 403.1 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2659, allocations: 461.9 kB / 403.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/0.2661, allocations: 149.8 kB / 403.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.36e-05/0.2662, allocations: 0.674 MB / 404.3 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.2662, allocations: 1.25 kB / 404.3 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.2662, allocations: 7.438 kB / 404.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 0 / 404.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of Templates: time 0.001806/0.268, allocations: 185.2 kB / 404.5 MB, free: 38.97 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches