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.001223/0.001223, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.08 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.06 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001624/0.1118, allocations: 0.5229 MB / 480.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.1125, allocations: 413.4 kB / 480.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.1125, allocations: 0 / 480.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.1125, allocations: 3.938 kB / 480.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.1126, allocations: 0 / 480.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.113, allocations: 131.6 kB / 481.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.1131, allocations: 27.97 kB / 481.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.1131, allocations: 4 kB / 481.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1131, allocations: 15.92 kB / 481.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.1132, allocations: 15.92 kB / 481.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1132, allocations: 11.88 kB / 481.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.1135, allocations: 163.8 kB / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1135, allocations: 0 / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1135, allocations: 19.86 kB / 481.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1137, allocations: 132 kB / 481.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1137, allocations: 0 / 481.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1137, allocations: 0 / 481.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1137, allocations: 0 / 481.5 MB, free: 3.828 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.0004159/0.1142, allocations: 363.5 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1142, allocations: 8.031 kB / 481.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1142, allocations: 8.938 kB / 481.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1144, allocations: 172.2 kB / 482 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1144, allocations: 8.375 kB / 482 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1144, allocations: 4.375 kB / 482 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1145, allocations: 54.23 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1146, allocations: 3.938 kB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1146, allocations: 3.984 kB / 482.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1146, allocations: 4 kB / 482.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.1147, allocations: 27.98 kB / 482.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.1148, allocations: 173.6 kB / 482.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1151, allocations: 50.56 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1151, allocations: 28.84 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.1154, allocations: 113 kB / 482.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1154, allocations: 34.84 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1154, allocations: 0 / 482.5 MB, free: 2.613 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.1426/0.258, allocations: 6.391 MB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2581, allocations: 59.34 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.2582, allocations: 101.8 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.2582, allocations: 29.7 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.2583, allocations: 88.14 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.2584, allocations: 59.11 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2586, allocations: 85.59 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2587, allocations: 322.8 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.2592, allocations: 223.8 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.2598, allocations: 235.8 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.2619, allocations: 0.5513 MB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2619, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001848/0.2638, allocations: 0.6166 MB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2638, allocations: 8 kB / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2638, allocations: 0 / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2638, allocations: 0 / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.2645, allocations: 107.8 kB / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2645, allocations: 0 / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.2649, allocations: 27.97 kB / 491.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.265, allocations: 35.88 kB / 491.4 MB, free: 9.613 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.0001399/0.2652, allocations: 117.7 kB / 491.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.2652, allocations: 7.906 kB / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.2674, allocations: 0.7318 MB / 492.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2674, allocations: 7.984 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2674, allocations: 0 / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2674, allocations: 0 / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.2714, allocations: 1.164 MB / 493.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2714, allocations: 4 kB / 493.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.272, allocations: 96.05 kB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.272, allocations: 8 kB / 493.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.272, allocations: 27.95 kB / 493.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.272, allocations: 4.234 kB / 493.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.272, allocations: 11.94 kB / 493.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.2737, allocations: 0.5726 MB / 494.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2738, allocations: 89.02 kB / 494.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.2739, allocations: 11.98 kB / 494.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.2743, allocations: 23.97 kB / 494.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.2743, allocations: 15.92 kB / 494.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.2744, allocations: 31.95 kB / 494.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.2744, allocations: 83.27 kB / 494.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2744, allocations: 0 / 494.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001654/0.2761, allocations: 0.6525 MB / 495.1 MB, free: 5.824 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.002929/0.279, allocations: 294.9 kB / 495.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.2803, allocations: 447.6 kB / 495.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2803, allocations: 11.88 kB / 495.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.2808, allocations: 203.7 kB / 496 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2811, allocations: 16 kB / 496 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.2834, allocations: 0.5143 MB / 496.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2837, allocations: 0.6964 MB / 497.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005356/0.2843, allocations: 124.9 kB / 497.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.2846, allocations: 87.3 kB / 497.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2846, allocations: 0 / 497.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of Templates: time 0.2443/0.5289, allocations: 57.4 MB / 0.5418 GB, free: 14.43 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