Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_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.001506/0.001506, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001478/0.001478, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06345/0.06345, allocations: 14.18 MB / 284.7 MB, free: 13.85 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.001485/0.001485, allocations: 75.78 kB / 346.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2343, allocations: 50.12 MB / 396.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001549/0.2359, allocations: 490.8 kB / 397.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002745/0.2362, allocations: 123.8 kB / 397.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.2362, allocations: 1.812 kB / 397.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.2362, allocations: 0 / 397.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2365, allocations: 23.17 kB / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.2365, allocations: 0 / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.795e-05/0.2365, allocations: 0 / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.2366, allocations: 5.828 kB / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.2366, allocations: 1.938 kB / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.2367, allocations: 5.406 kB / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-06/0.2367, allocations: 1.812 kB / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-06/0.2367, allocations: 0 / 397.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.2367, allocations: 3.938 kB / 397.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.025e-05/0.2367, allocations: 7.922 kB / 397.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.03e-05/0.2368, allocations: 4 kB / 397.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2368, allocations: 1.844 kB / 397.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2368, allocations: 0 / 397.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2368, allocations: 0 / 397.3 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.0001816/0.237, allocations: 319.1 kB / 397.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.237, allocations: 8.781 kB / 397.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.237, allocations: 2.719 kB / 397.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.55e-05/0.2371, allocations: 164.3 kB / 397.8 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.2371, allocations: 384 / 397.8 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2371, allocations: 2.188 kB / 397.8 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.558e-05/0.2372, allocations: 47.53 kB / 397.8 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2372, allocations: 192 / 397.8 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.2372, allocations: 3.938 kB / 397.8 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2372, allocations: 0 / 397.8 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.2373, allocations: 15.5 kB / 397.8 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.2375, allocations: 463.2 kB / 398.3 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.2375, allocations: 170.9 kB / 398.5 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.2375, allocations: 80.14 kB / 398.5 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2376, allocations: 75.28 kB / 398.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2376, allocations: 119.6 kB / 398.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2376, allocations: 3.938 kB / 398.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.851e-05/0.2377, allocations: 25.73 kB / 398.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2377, allocations: 132.5 kB / 398.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.2377, allocations: 95.69 kB / 399 MB, free: 45.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.2378, allocations: 27.8 kB / 399 MB, free: 45.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.2378, allocations: 85.88 kB / 399.1 MB, free: 45.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.2378, allocations: 4 kB / 399.1 MB, free: 45.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.2378, allocations: 16.16 kB / 399.1 MB, free: 45.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.2379, allocations: 313 kB / 399.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.2379, allocations: 0 / 399.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.2379, allocations: 12.25 kB / 399.4 MB, free: 45.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.2379, allocations: 21.53 kB / 399.4 MB, free: 45.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2379, allocations: 8 kB / 399.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.467e-05/0.238, allocations: 41.44 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.238, allocations: 5.469 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.238, allocations: 1.125 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2381, allocations: 1.062 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.2381, allocations: 2.469 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2381, allocations: 1.344 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.2381, allocations: 4.969 kB / 399.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2382, allocations: 0.9375 kB / 399.5 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.575e-05/0.2382, allocations: 206.1 kB / 399.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.2382, allocations: 102.1 kB / 399.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.2383, allocations: 109.2 kB / 399.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.2383, allocations: 177.5 kB / 400.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.2383, allocations: 183.7 kB / 400.3 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.2384, allocations: 189.7 kB / 400.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.2385, allocations: 398.5 kB / 400.8 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.2385, allocations: 106.1 kB / 400.9 MB, free: 43.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.2385, allocations: 102 kB / 401 MB, free: 43.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/0.2385, allocations: 189.5 kB / 401.2 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.2386, allocations: 180.3 kB / 401.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.2386, allocations: 181.3 kB / 401.6 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/0.2386, allocations: 181.2 kB / 401.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.481e-05/0.2387, allocations: 312 kB / 402.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.2387, allocations: 183.2 kB / 402.2 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2387, allocations: 189.1 kB / 402.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.2388, allocations: 102 kB / 402.5 MB, free: 41.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.2388, allocations: 181.8 kB / 402.7 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2388, allocations: 108.9 kB / 402.8 MB, free: 41.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.2389, allocations: 81.41 kB / 402.9 MB, free: 41.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2389, allocations: 0 / 402.9 MB, free: 41.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.2391, allocations: 0.9688 kB / 402.9 MB, free: 41.55 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.029e-05/0.2392, allocations: 170.2 kB / 403.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.307e-05/0.2392, allocations: 3.125 kB / 403.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2392, allocations: 0.7812 kB / 403.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.2392, allocations: 5.062 kB / 403.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2395, allocations: 456.9 kB / 403.5 MB, free: 40.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/0.2396, allocations: 158.7 kB / 403.7 MB, free: 40.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.2397, allocations: 0.6701 MB / 404.3 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.284e-05/0.2397, allocations: 0 / 404.3 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.2397, allocations: 8.5 kB / 404.3 MB, free: 40.06 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2398, allocations: 0 / 404.3 MB, free: 40.06 MB / 318.1 MB Notification: Performance of Templates: time 0.001655/0.2414, allocations: 177.2 kB / 404.5 MB, free: 39.96 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches