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.004143/0.004143, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001012/0.001012, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1777/0.1777, allocations: 16.79 MB / 307.3 MB, free: 14.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 60.66 kB / 426.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07802/0.07934, allocations: 53.58 MB / 480.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0014/0.08078, allocations: 485.6 kB / 480.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.08107, allocations: 127.2 kB / 480.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.0811, allocations: 0 / 480.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.08112, allocations: 0 / 480.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.08137, allocations: 22.75 kB / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.08138, allocations: 0 / 480.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.244e-05/0.08142, allocations: 5.594 kB / 480.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.08147, allocations: 9.984 kB / 480.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.022e-05/0.08148, allocations: 0 / 480.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.08158, allocations: 11.3 kB / 480.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-06/0.08159, allocations: 0 / 480.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-06/0.0816, allocations: 0 / 480.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.08161, allocations: 0 / 480.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-06/0.08162, allocations: 4.938 kB / 480.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.061e-05/0.08165, allocations: 0 / 480.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.08166, allocations: 1.094 kB / 480.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08167, allocations: 0 / 480.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.08168, allocations: 4 kB / 480.8 MB, free: 9.914 MB / 350.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.0001645/0.08184, allocations: 312 kB / 481.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.08188, allocations: 9.281 kB / 481.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.08191, allocations: 4.891 kB / 481.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.081e-05/0.08195, allocations: 166.3 kB / 481.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.08196, allocations: 384 / 481.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.08198, allocations: 4.312 kB / 481.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.08205, allocations: 48.27 kB / 481.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.08207, allocations: 4.172 kB / 481.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.08208, allocations: 3.938 kB / 481.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.08209, allocations: 1.188 kB / 481.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.08211, allocations: 2.281 kB / 481.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.0823, allocations: 475.4 kB / 481.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.08234, allocations: 174.2 kB / 482 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.08236, allocations: 81.05 kB / 482 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.08238, allocations: 75.28 kB / 482.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.0824, allocations: 106.9 kB / 482.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.0824, allocations: 0 / 482.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.299e-05/0.08246, allocations: 31.67 kB / 482.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.08249, allocations: 130.7 kB / 482.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.08254, allocations: 96.48 kB / 482.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-06/0.08255, allocations: 25.7 kB / 482.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.08257, allocations: 89.27 kB / 482.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.08258, allocations: 1.094 kB / 482.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.08261, allocations: 15.91 kB / 482.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.293e-05/0.08264, allocations: 312.4 kB / 482.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.08266, allocations: 7.938 kB / 482.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.08267, allocations: 16.22 kB / 482.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.0827, allocations: 17.06 kB / 483 MB, free: 7.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0827, allocations: 5.094 kB / 483 MB, free: 7.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.593e-05/0.08278, allocations: 41.5 kB / 483 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.0828, allocations: 9.656 kB / 483 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.08281, allocations: 1 kB / 483 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.08282, allocations: 0 / 483 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.08287, allocations: 7.312 kB / 483 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.08288, allocations: 1 kB / 483 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.08289, allocations: 0.9375 kB / 483 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.0829, allocations: 1.188 kB / 483 MB, free: 7.5 MB / 350.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.71e-05/0.08294, allocations: 186.2 kB / 483.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.08298, allocations: 114.1 kB / 483.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.083, allocations: 110.2 kB / 483.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.08302, allocations: 178.2 kB / 483.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.08305, allocations: 177.7 kB / 483.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.08307, allocations: 181.3 kB / 483.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.08318, allocations: 410.5 kB / 484.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.0832, allocations: 105.9 kB / 484.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.08321, allocations: 102.1 kB / 484.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.08324, allocations: 181.3 kB / 484.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.08326, allocations: 189.6 kB / 484.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/0.08328, allocations: 177.6 kB / 485.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/0.08331, allocations: 192.2 kB / 485.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.915e-05/0.08336, allocations: 307.2 kB / 485.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.08339, allocations: 183 kB / 485.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.08342, allocations: 182.5 kB / 485.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.08347, allocations: 106 kB / 486 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.0835, allocations: 184.6 kB / 486.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.08352, allocations: 106.1 kB / 486.3 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.627e-05/0.08354, allocations: 77.47 kB / 486.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08354, allocations: 0 / 486.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.08375, allocations: 1.125 kB / 486.4 MB, free: 3.926 MB / 350.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.906e-05/0.08381, allocations: 165.7 kB / 486.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.627e-05/0.08387, allocations: 12.69 kB / 486.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.08388, allocations: 3.938 kB / 486.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.08389, allocations: 5.406 kB / 486.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.08412, allocations: 457.3 kB / 487 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.08426, allocations: 157.2 kB / 487.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.08436, allocations: 0.674 MB / 487.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.217e-05/0.08438, allocations: 0 / 487.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.0844, allocations: 8.562 kB / 487.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.0844, allocations: 0 / 487.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Templates: time 0.001432/0.08584, allocations: 176.6 kB / 488 MB, free: 2.316 MB / 350.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=50 -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