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.00135/0.00135, allocations: 109.5 kB / 17.04 MB, free: 6.098 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.001445/0.001445, allocations: 194.9 kB / 17.98 MB, free: 5.188 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.444/1.444, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06182/0.06182, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001437/0.001437, allocations: 60.08 kB / 347.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2055, allocations: 50.12 MB / 397.3 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001459/0.207, allocations: 491 kB / 397.8 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.2073, allocations: 124 kB / 397.9 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.2073, allocations: 0 / 397.9 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.2073, allocations: 0 / 397.9 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.2076, allocations: 19.08 kB / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.336e-06/0.2076, allocations: 0 / 397.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.877e-05/0.2076, allocations: 5.828 kB / 397.9 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.2077, allocations: 1.781 kB / 397.9 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-06/0.2077, allocations: 0 / 397.9 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.2078, allocations: 18.33 kB / 397.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-06/0.2078, allocations: 1.906 kB / 397.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-06/0.2078, allocations: 0 / 397.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.2078, allocations: 0 / 397.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-06/0.2078, allocations: 7.938 kB / 398 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 2.755e-05/0.2079, allocations: 7.984 kB / 398 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2079, allocations: 1.156 kB / 398 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2079, allocations: 0 / 398 MB, free: 47.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2079, allocations: 0 / 398 MB, free: 47.55 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.0001617/0.208, allocations: 315.3 kB / 398.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.2081, allocations: 9.656 kB / 398.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.2081, allocations: 0.9375 kB / 398.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.04e-05/0.2081, allocations: 161.6 kB / 398.4 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2082, allocations: 384 / 398.4 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2082, allocations: 13.64 kB / 398.5 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.2083, allocations: 39.89 kB / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2083, allocations: 192 / 398.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2083, allocations: 7.875 kB / 398.5 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2083, allocations: 1.062 kB / 398.5 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.2083, allocations: 6.328 kB / 398.5 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.2085, allocations: 459.9 kB / 399 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.2086, allocations: 178.2 kB / 399.1 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.2086, allocations: 80.14 kB / 399.2 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2086, allocations: 80.2 kB / 399.3 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2086, allocations: 110.8 kB / 399.4 MB, free: 45.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2086, allocations: 0 / 399.4 MB, free: 45.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.457e-05/0.2087, allocations: 26.83 kB / 399.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2087, allocations: 130.7 kB / 399.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.2088, allocations: 101.3 kB / 399.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-06/0.2088, allocations: 25.7 kB / 399.7 MB, free: 45.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.2088, allocations: 90.89 kB / 399.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.2088, allocations: 4.125 kB / 399.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.2088, allocations: 17.59 kB / 399.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.2089, allocations: 314.8 kB / 400.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.2089, allocations: 5.188 kB / 400.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.2089, allocations: 11.75 kB / 400.1 MB, free: 45.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.2089, allocations: 16.94 kB / 400.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2089, allocations: 5 kB / 400.1 MB, free: 45.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.926e-05/0.209, allocations: 46.28 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.209, allocations: 4.594 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.209, allocations: 1.062 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2091, allocations: 1.094 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.2091, allocations: 2.375 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2091, allocations: 1.156 kB / 400.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.2091, allocations: 4.969 kB / 400.2 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2091, allocations: 1.156 kB / 400.2 MB, free: 45.14 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 4.085e-05/0.2092, allocations: 194.2 kB / 400.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.2092, allocations: 110 kB / 400.5 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.2093, allocations: 109.2 kB / 400.6 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.2093, allocations: 181.3 kB / 400.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.2093, allocations: 177.4 kB / 400.9 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.2093, allocations: 181.3 kB / 401.1 MB, free: 44.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2094, allocations: 411.2 kB / 401.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.2095, allocations: 102.1 kB / 401.6 MB, free: 43.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.2095, allocations: 104.9 kB / 401.7 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.2095, allocations: 177.3 kB / 401.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2095, allocations: 185.6 kB / 402.1 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.2095, allocations: 185.4 kB / 402.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-05/0.2096, allocations: 177.5 kB / 402.4 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.2097, allocations: 1.078 MB / 403.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2098, allocations: 179.4 kB / 403.7 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2098, allocations: 189.4 kB / 403.9 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.2098, allocations: 105 kB / 404 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.2099, allocations: 177.5 kB / 404.1 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2099, allocations: 110.4 kB / 404.3 MB, free: 40.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.524e-05/0.2099, allocations: 77.53 kB / 404.3 MB, free: 40.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2099, allocations: 0 / 404.3 MB, free: 40.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000326/0.2103, allocations: 1.188 kB / 404.3 MB, free: 40.76 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 5.996e-05/0.2103, allocations: 172.8 kB / 404.5 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 4.854e-05/0.2104, allocations: 7.75 kB / 404.5 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2104, allocations: 1.344 kB / 404.5 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.2104, allocations: 7.938 kB / 404.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2106, allocations: 454 kB / 405 MB, free: 40.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000125/0.2108, allocations: 145.8 kB / 405.1 MB, free: 39.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.265e-05/0.2109, allocations: 0.6777 MB / 405.8 MB, free: 39.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.408e-05/0.2109, allocations: 5.125 kB / 405.8 MB, free: 39.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.2109, allocations: 7.438 kB / 405.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2109, allocations: 1.125 kB / 405.8 MB, free: 39.25 MB / 318.1 MB Notification: Performance of Templates: time 0.001642/0.2125, allocations: 188 kB / 406 MB, free: 39.15 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=480 -s gbode -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