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.001126/0.001126, allocations: 91.44 kB / 18 MB, free: 5.602 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.001496/0.001496, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.385/1.385, allocations: 223.3 MB / 243 MB, free: 14.28 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.1879/0.1879, allocations: 44.25 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003034, allocations: 13.2 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007967/0.1092, allocations: 258.8 kB / 473.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1103, allocations: 428.6 kB / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.1104, allocations: 0 / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.1104, allocations: 0 / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1105, allocations: 3.938 kB / 473.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1111, allocations: 107.8 kB / 473.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.1111, allocations: 15.98 kB / 473.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.1112, allocations: 4 kB / 473.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.1113, allocations: 11.94 kB / 473.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.1113, allocations: 23.91 kB / 473.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1114, allocations: 0 / 473.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.1118, allocations: 163.7 kB / 473.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1118, allocations: 7.938 kB / 473.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.1118, allocations: 33.64 kB / 474 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1121, allocations: 87.81 kB / 474 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1121, allocations: 4 kB / 474 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1121, allocations: 0 / 474 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1121, allocations: 0 / 474 MB, free: 12.16 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.0004909/0.1126, allocations: 359.7 kB / 474.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1127, allocations: 8.031 kB / 474.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1127, allocations: 8.938 kB / 474.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1128, allocations: 168.2 kB / 474.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1129, allocations: 4.375 kB / 474.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.1129, allocations: 8.375 kB / 474.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1131, allocations: 58.17 kB / 474.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1131, allocations: 3.938 kB / 474.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1131, allocations: 4 kB / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1131, allocations: 0 / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1132, allocations: 27.97 kB / 474.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.1135, allocations: 169.7 kB / 474.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1137, allocations: 66.52 kB / 474.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.1138, allocations: 28.86 kB / 474.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.1142, allocations: 113.1 kB / 475.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1142, allocations: 30.56 kB / 475.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1142, allocations: 0 / 475.1 MB, free: 10.95 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.1579/0.2722, allocations: 6.625 MB / 481.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2722, allocations: 55.41 kB / 481.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2723, allocations: 97.86 kB / 481.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.2724, allocations: 25.7 kB / 481.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2724, allocations: 92.12 kB / 482 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/0.2725, allocations: 63.09 kB / 482 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.2726, allocations: 17.72 kB / 482 MB, free: 3.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2727, allocations: 326.8 kB / 482.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.2733, allocations: 243.8 kB / 482.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.2739, allocations: 251.8 kB / 482.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.2761, allocations: 0.5893 MB / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2761, allocations: 0 / 483.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001878/0.278, allocations: 0.6456 MB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.278, allocations: 4 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2781, allocations: 0 / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2781, allocations: 0 / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.2787, allocations: 115.8 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2788, allocations: 4 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.2792, allocations: 27.97 kB / 484.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.2793, allocations: 35.94 kB / 484.3 MB, free: 1.664 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.0001635/0.2795, allocations: 117.8 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2795, allocations: 7.906 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.2818, allocations: 0.765 MB / 485.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2818, allocations: 8.453 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2818, allocations: 0 / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2818, allocations: 0 / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.2859, allocations: 1.238 MB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.286, allocations: 0 / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.2865, allocations: 115.9 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.2866, allocations: 4 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.2866, allocations: 27.94 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2866, allocations: 4 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2866, allocations: 4 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2883, allocations: 0.6133 MB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.2884, allocations: 93 kB / 487.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.2885, allocations: 4.25 kB / 487.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.2889, allocations: 31.97 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2889, allocations: 19.98 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.289, allocations: 35.89 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.289, allocations: 83.27 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.289, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001842/0.2909, allocations: 0.6523 MB / 488.1 MB, free: 13.71 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.003323/0.2942, allocations: 299.5 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2955, allocations: 482.7 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.2955, allocations: 0 / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.296, allocations: 220.1 kB / 489.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2963, allocations: 8 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.2988, allocations: 0.6226 MB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2991, allocations: 0.6929 MB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.2995, allocations: 91.28 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2995, allocations: 0 / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.02361/0.3231, allocations: 15.98 MB / 0.4946 GB, free: 11.26 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 -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