Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001477, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001788/0.001788, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.309/1.309, allocations: 222.9 MB / 243 MB, free: 15.07 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.198/0.198, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.61 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09298, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001733/0.09475, allocations: 0.526 MB / 471.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000706/0.09548, allocations: 413.1 kB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.09552, allocations: 0 / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.09555, allocations: 3.938 kB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.552e-05/0.09559, allocations: 0 / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.0961, allocations: 143.5 kB / 471.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.09616, allocations: 19.98 kB / 471.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.09621, allocations: 8 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.09624, allocations: 15.92 kB / 471.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.0963, allocations: 15.92 kB / 471.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.09631, allocations: 0 / 471.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.09658, allocations: 167.8 kB / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.0966, allocations: 11.92 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.09663, allocations: 11.92 kB / 472 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.09682, allocations: 127.6 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09684, allocations: 0 / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09684, allocations: 0 / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.09685, allocations: 0 / 472.1 MB, free: 12.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003853/0.09724, allocations: 363.5 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.09729, allocations: 12.03 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.09732, allocations: 0.9375 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.09743, allocations: 180.2 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.09745, allocations: 384 / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.09748, allocations: 8.312 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.0976, allocations: 54.23 kB / 472.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.09762, allocations: 3.938 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.09763, allocations: 4 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.09765, allocations: 4 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.09772, allocations: 27.98 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.09789, allocations: 169.5 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.09812, allocations: 62.55 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.09817, allocations: 24.84 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.09843, allocations: 109.1 kB / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.09846, allocations: 38.48 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.09846, allocations: 0 / 473.2 MB, free: 10.96 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1341/0.2325, allocations: 6.377 MB / 479.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2326, allocations: 51.41 kB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.2327, allocations: 105.8 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.2327, allocations: 33.64 kB / 479.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.2328, allocations: 84.14 kB / 479.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.2329, allocations: 63.09 kB / 479.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.2331, allocations: 85.59 kB / 480 MB, free: 4.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2332, allocations: 322.8 kB / 480.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.2337, allocations: 231.8 kB / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.2342, allocations: 227.8 kB / 480.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.2363, allocations: 0.5575 MB / 481.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2364, allocations: 4.25 kB / 481.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001827/0.2382, allocations: 0.6104 MB / 481.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2382, allocations: 4 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2382, allocations: 4 kB / 481.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2383, allocations: 0 / 481.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.2389, allocations: 115.8 kB / 482 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.239, allocations: 0 / 482 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.2394, allocations: 23.97 kB / 482.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.2395, allocations: 31.94 kB / 482.1 MB, free: 1.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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 0.000147/0.2396, allocations: 125.7 kB / 482.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.2397, allocations: 7.906 kB / 482.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.2418, allocations: 0.7304 MB / 482.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2418, allocations: 3.938 kB / 482.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2418, allocations: 0 / 482.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2418, allocations: 7.984 kB / 483 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.2458, allocations: 1.165 MB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2459, allocations: 0 / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.2464, allocations: 100.3 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2464, allocations: 4.188 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.2465, allocations: 31.95 kB / 484.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2465, allocations: 3.984 kB / 484.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2465, allocations: 4 kB / 484.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2482, allocations: 0.582 MB / 484.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.2482, allocations: 85.02 kB / 484.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.2483, allocations: 3.984 kB / 484.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.2487, allocations: 31.97 kB / 485 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.2487, allocations: 19.91 kB / 485 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.2488, allocations: 31.95 kB / 485 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.2489, allocations: 83.27 kB / 485.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2489, allocations: 4 kB / 485.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001658/0.2505, allocations: 0.6483 MB / 485.7 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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 0.003192/0.2537, allocations: 295 kB / 486 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.255, allocations: 443.5 kB / 486.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.255, allocations: 0 / 486.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.2555, allocations: 207.8 kB / 486.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2558, allocations: 22.33 kB / 486.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.2582, allocations: 0.5095 MB / 487.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2585, allocations: 0.6965 MB / 487.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.2589, allocations: 120.9 kB / 488 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.2592, allocations: 91.22 kB / 488.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 1.914e-06/0.2592, allocations: 0 / 488.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.2349/0.4942, allocations: 57.39 MB / 0.5327 GB, free: 29.92 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches