Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008879/0.0008878, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 198.2 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.00026, allocations: 4 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0008639/0.1176, allocations: 273.3 kB / 483.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.1185, allocations: 422.9 kB / 483.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.1186, allocations: 4 kB / 483.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.1186, allocations: 3.938 kB / 483.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.1186, allocations: 0 / 483.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.1191, allocations: 99.77 kB / 483.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.1192, allocations: 19.98 kB / 483.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.1192, allocations: 11.92 kB / 483.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.1193, allocations: 7.938 kB / 483.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.141e-05/0.1193, allocations: 15.92 kB / 483.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1194, allocations: 15.88 kB / 483.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1196, allocations: 159.8 kB / 484.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1197, allocations: 3.984 kB / 484.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1197, allocations: 41.58 kB / 484.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1199, allocations: 127.8 kB / 484.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1199, allocations: 0 / 484.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.12, allocations: 0 / 484.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.12, allocations: 0 / 484.3 MB, free: 2.969 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.0004504/0.1204, allocations: 363.7 kB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1205, allocations: 12.03 kB / 484.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1205, allocations: 4.938 kB / 484.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1207, allocations: 168.2 kB / 484.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1207, allocations: 4.375 kB / 484.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1207, allocations: 384 / 484.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1209, allocations: 58.23 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1209, allocations: 3.938 kB / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1209, allocations: 4 kB / 484.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1209, allocations: 3.938 kB / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.121, allocations: 23.98 kB / 484.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.1212, allocations: 173.7 kB / 485.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1215, allocations: 50.56 kB / 485.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1215, allocations: 33.06 kB / 485.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.1218, allocations: 121.1 kB / 485.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1219, allocations: 30.56 kB / 485.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1219, allocations: 0 / 485.3 MB, free: 1.758 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.1462/0.2681, allocations: 6.625 MB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2681, allocations: 55.39 kB / 492 MB, free: 11.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.2682, allocations: 101.9 kB / 492.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.2683, allocations: 29.7 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.2684, allocations: 84.14 kB / 492.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.2685, allocations: 67.08 kB / 492.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.2685, allocations: 17.72 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2687, allocations: 326.8 kB / 492.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.2693, allocations: 243.8 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.2698, allocations: 243.8 kB / 493.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.2719, allocations: 0.5884 MB / 493.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.272, allocations: 0 / 493.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001881/0.2739, allocations: 0.6404 MB / 494.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2739, allocations: 11.98 kB / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2739, allocations: 0 / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2739, allocations: 0 / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.2746, allocations: 119.8 kB / 494.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2746, allocations: 0 / 494.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.275, allocations: 27.97 kB / 494.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.2751, allocations: 47.81 kB / 494.5 MB, free: 8.465 MB / 366.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.0001581/0.2753, allocations: 117.8 kB / 494.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.2753, allocations: 7.906 kB / 494.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.2775, allocations: 0.763 MB / 495.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2776, allocations: 4 kB / 495.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2776, allocations: 0 / 495.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2776, allocations: 3.984 kB / 495.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/0.2816, allocations: 1.219 MB / 496.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2816, allocations: 8 kB / 496.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.2822, allocations: 107.8 kB / 496.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2822, allocations: 4 kB / 496.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.2822, allocations: 28.14 kB / 496.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2823, allocations: 4 kB / 496.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2823, allocations: 0 / 496.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2839, allocations: 0.621 MB / 497.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.284, allocations: 85.02 kB / 497.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.2841, allocations: 8 kB / 497.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.2845, allocations: 40.42 kB / 497.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.2845, allocations: 11.98 kB / 497.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.2846, allocations: 27.95 kB / 497.5 MB, free: 5.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.907e-05/0.2846, allocations: 83.28 kB / 497.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2846, allocations: 0 / 497.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001799/0.2865, allocations: 0.6522 MB / 498.3 MB, free: 4.539 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.003351/0.2898, allocations: 302.9 kB / 498.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.291, allocations: 486.3 kB / 499 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.291, allocations: 7.938 kB / 499.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.2916, allocations: 220.1 kB / 499.3 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2919, allocations: 12 kB / 499.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.2943, allocations: 0.5858 MB / 499.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2946, allocations: 0.6929 MB / 0.4888 GB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005538/0.2952, allocations: 128.9 kB / 0.489 GB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.2955, allocations: 87.28 kB / 0.489 GB, free: 1.953 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2955, allocations: 0 / 0.489 GB, free: 1.953 MB / 366.1 MB Notification: Performance of Templates: time 0.2633/0.5588, allocations: 57.03 MB / 0.5447 GB, free: 13.23 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches