Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001377/0.001377, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.282/1.282, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2857, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001447/0.2872, allocations: 0.5021 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.2875, allocations: 102.8 kB / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2875, allocations: 0 / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.2875, allocations: 0 / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.879e-05/0.2876, allocations: 0 / 0.5201 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.2877, allocations: 18.05 kB / 0.5202 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.2878, allocations: 12.56 kB / 0.5202 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.2878, allocations: 2.266 kB / 0.5202 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.2879, allocations: 3.328 kB / 0.5202 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.2879, allocations: 17.41 kB / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.2879, allocations: 0 / 0.5202 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.288, allocations: 31.55 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.288, allocations: 2.859 kB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.288, allocations: 7.016 kB / 0.5202 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2881, allocations: 21.89 kB / 0.5203 GB, free: 3.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2882, allocations: 6.297 kB / 0.5203 GB, free: 3.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2882, allocations: 4 kB / 0.5203 GB, free: 3.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2882, allocations: 0 / 0.5203 GB, free: 3.184 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002704/0.2884, allocations: 329 kB / 0.5206 GB, free: 2.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2885, allocations: 10.16 kB / 0.5206 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.2885, allocations: 5.797 kB / 0.5206 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.982e-05/0.2886, allocations: 166.8 kB / 0.5208 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2886, allocations: 1.219 kB / 0.5208 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2886, allocations: 10.58 kB / 0.5208 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.2887, allocations: 55.33 kB / 0.5208 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.2887, allocations: 192 / 0.5208 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2887, allocations: 4.641 kB / 0.5208 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2887, allocations: 0.9688 kB / 0.5208 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.2888, allocations: 16.48 kB / 0.5208 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.289, allocations: 318.6 kB / 0.5211 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.289, allocations: 33.08 kB / 0.5212 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.2891, allocations: 15.84 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2891, allocations: 1.531 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.2891, allocations: 36.52 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2891, allocations: 0 / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001518/0.2893, allocations: 58.14 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/0.2893, allocations: 51.41 kB / 0.5213 GB, free: 2.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/0.2894, allocations: 98.92 kB / 0.5214 GB, free: 1.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.2894, allocations: 25.7 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.2894, allocations: 90.08 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.2894, allocations: 14.38 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.2894, allocations: 18.5 kB / 0.5216 GB, free: 1.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.2895, allocations: 312.8 kB / 0.5219 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.2895, allocations: 9.828 kB / 0.5219 GB, free: 1.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.2895, allocations: 20.69 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.2896, allocations: 37.17 kB / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2896, allocations: 0 / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.719e-05/0.2897, allocations: 58.95 kB / 0.522 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2897, allocations: 9.891 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2897, allocations: 0 / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2897, allocations: 1.156 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.2898, allocations: 8.219 kB / 0.522 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2898, allocations: 5.094 kB / 0.522 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.2898, allocations: 1.094 kB / 0.522 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2898, allocations: 6.891 kB / 0.522 GB, free: 1.328 MB / 382.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 (5): * Single equations (assignments): 5 * 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.684e-05/0.2899, allocations: 107.5 kB / 0.5221 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2899, allocations: 10.09 kB / 0.5221 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.29, allocations: 65.16 kB / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.29, allocations: 0 / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.29, allocations: 2.078 kB / 0.5222 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.29, allocations: 86.34 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.29, allocations: 0.6562 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.2901, allocations: 1 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2901, allocations: 3.5 kB / 0.5223 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.632e-05/0.2902, allocations: 136 kB / 0.5224 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.066e-05/0.2903, allocations: 228.5 kB / 0.5226 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.026e-05/0.2904, allocations: 17.05 kB / 0.5226 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.408e-05/0.2904, allocations: 82.12 kB / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of Backend: time 1.91e-07/0.2904, allocations: 0 / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.2907, allocations: 100 kB / 0.5228 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of SimCode: time 0.0002361/0.291, allocations: 0.5436 MB / 0.5233 GB, free: 15.97 MB / 398.1 MB Notification: Performance of Templates: time 0.002539/0.2935, allocations: 0.5922 MB / 0.5239 GB, free: 15.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches