Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001052, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 204 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 79.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2807, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001487/0.2822, allocations: 0.5051 MB / 0.5321 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.2825, allocations: 96.66 kB / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.2825, allocations: 0 / 0.5322 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.2826, allocations: 4 kB / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.2826, allocations: 0 / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2828, allocations: 19.25 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.2828, allocations: 11.41 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.2829, allocations: 3.984 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.2829, allocations: 6.625 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.283, allocations: 6.641 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.283, allocations: 3.031 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.2831, allocations: 33.11 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.517e-06/0.2831, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2831, allocations: 14.28 kB / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.976e-05/0.2832, allocations: 27.94 kB / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2832, allocations: 1.125 kB / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2832, allocations: 0 / 0.5324 GB, free: 13.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2832, allocations: 0 / 0.5324 GB, free: 13.06 MB / 398.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.000364/0.2836, allocations: 325.6 kB / 0.5327 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2837, allocations: 8.594 kB / 0.5327 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.2837, allocations: 2.25 kB / 0.5327 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2838, allocations: 161.8 kB / 0.5328 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2838, allocations: 5.781 kB / 0.5328 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2838, allocations: 1.656 kB / 0.5328 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.284, allocations: 55.28 kB / 0.5329 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.284, allocations: 192 / 0.5329 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.284, allocations: 9.531 kB / 0.5329 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.284, allocations: 0 / 0.5329 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.2841, allocations: 15.59 kB / 0.5329 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.2844, allocations: 335.2 kB / 0.5332 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.2844, allocations: 32.48 kB / 0.5333 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.2845, allocations: 11.3 kB / 0.5333 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2845, allocations: 0 / 0.5333 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2845, allocations: 36.03 kB / 0.5333 GB, free: 11.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2845, allocations: 4 kB / 0.5333 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.2847, allocations: 54.5 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.2848, allocations: 51.41 kB / 0.5334 GB, free: 11.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.2848, allocations: 100.4 kB / 0.5335 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2849, allocations: 26.83 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.2849, allocations: 80.14 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2849, allocations: 13.97 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.285, allocations: 14.19 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.2851, allocations: 328 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.2851, allocations: 3.312 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.2851, allocations: 23.22 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.2852, allocations: 35.64 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2852, allocations: 1.125 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.221e-05/0.2853, allocations: 58.16 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2853, allocations: 5.688 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2853, allocations: 4.031 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2853, allocations: 1.438 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.2854, allocations: 10.72 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2854, allocations: 1.312 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.2855, allocations: 5.344 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2855, allocations: 1.125 kB / 0.5341 GB, free: 11.18 MB / 398.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 6.552e-05/0.2855, allocations: 111.2 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.2856, allocations: 9.172 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.2857, allocations: 66.02 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2857, allocations: 1.062 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2857, allocations: 0 / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2858, allocations: 81.98 kB / 0.5344 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2858, allocations: 5.281 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.2858, allocations: 0 / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.2859, allocations: 6.328 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001151/0.286, allocations: 132.6 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001374/0.2861, allocations: 232 kB / 0.5347 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.139e-05/0.2862, allocations: 15.12 kB / 0.5347 GB, free: 10.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.43e-05/0.2862, allocations: 76.59 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.2862, allocations: 0 / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.2866, allocations: 96.05 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003248/0.2869, allocations: 0.5387 MB / 0.5354 GB, free: 9.809 MB / 398.1 MB Notification: Performance of Templates: time 0.003119/0.29, allocations: 0.6152 MB / 0.536 GB, free: 9.48 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches