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.001138/0.001138, allocations: 115.6 kB / 16.42 MB, free: 6.488 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.001094/0.001094, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.266/1.266, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06304/0.06304, allocations: 14.18 MB / 284.8 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.001416/0.001416, allocations: 72.2 kB / 397.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07916, allocations: 50.13 MB / 447.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001425/0.08061, allocations: 495.8 kB / 447.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.08092, allocations: 115.7 kB / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.08095, allocations: 0 / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.08098, allocations: 0 / 447.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.08124, allocations: 23.92 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.367e-06/0.08125, allocations: 0 / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.255e-05/0.08129, allocations: 7.922 kB / 447.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.08133, allocations: 4.344 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.173e-05/0.08135, allocations: 3.938 kB / 447.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.08146, allocations: 15.98 kB / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-06/0.08147, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.08148, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.08149, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.08151, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.685e-05/0.08155, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.08156, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08156, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08157, allocations: 0 / 447.9 MB, free: 13.06 MB / 334.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.0002552/0.08183, allocations: 319.6 kB / 448.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.08187, allocations: 8.031 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.0819, allocations: 4.938 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.08203, allocations: 160.4 kB / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.08205, allocations: 4.312 kB / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.08206, allocations: 384 / 448.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.08216, allocations: 55.91 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.08217, allocations: 192 / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.08219, allocations: 15.88 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.0822, allocations: 0 / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.08222, allocations: 4 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.08253, allocations: 463.6 kB / 448.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.08261, allocations: 173 kB / 449.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.08265, allocations: 84.14 kB / 449.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.08268, allocations: 75.28 kB / 449.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.08272, allocations: 113.9 kB / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.08273, allocations: 0 / 449.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.28e-05/0.08279, allocations: 29.64 kB / 449.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.08282, allocations: 51.41 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.0829, allocations: 101.8 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.08292, allocations: 25.7 kB / 449.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.08296, allocations: 86.11 kB / 449.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.08297, allocations: 4 kB / 449.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.083, allocations: 13.72 kB / 449.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.0831, allocations: 310.8 kB / 450 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.08311, allocations: 0 / 450 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.08313, allocations: 17.84 kB / 450 MB, free: 10.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.08316, allocations: 17.72 kB / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.08317, allocations: 0 / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.186e-05/0.08326, allocations: 45.56 kB / 450.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.08328, allocations: 4 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.08329, allocations: 4 kB / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.08331, allocations: 0 / 450.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.08336, allocations: 8.125 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.08337, allocations: 0 / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.08339, allocations: 3.984 kB / 450.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.0834, allocations: 0 / 450.1 MB, free: 10.66 MB / 334.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 8.249e-05/0.08348, allocations: 204.9 kB / 450.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.08354, allocations: 101 kB / 450.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.08358, allocations: 104.1 kB / 450.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.771e-05/0.08364, allocations: 188.1 kB / 450.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.08368, allocations: 105 kB / 450.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.08374, allocations: 190 kB / 450.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.0838, allocations: 176.3 kB / 451.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.08388, allocations: 105 kB / 451.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.08394, allocations: 184.1 kB / 451.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.101e-05/0.08402, allocations: 255.5 kB / 451.7 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000131/0.08416, allocations: 391 kB / 452 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.949e-05/0.0842, allocations: 104.9 kB / 452.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.862e-05/0.08423, allocations: 79.28 kB / 452.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.08424, allocations: 8.031 kB / 452.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.08453, allocations: 74.39 kB / 452.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003729/0.08491, allocations: 0.831 MB / 453.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of Templates: time 0.001754/0.08667, allocations: 181.4 kB / 453.3 MB, free: 7.246 MB / 334.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 -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