Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 90.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007333/0.0007334, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1529, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007376/0.1537, allocations: 256.6 kB / 490.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.1547, allocations: 386.8 kB / 490.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.1548, allocations: 0 / 490.8 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1548, allocations: 7.938 kB / 490.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.1548, allocations: 0 / 490.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.1554, allocations: 95.75 kB / 490.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.1554, allocations: 15.98 kB / 491 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.1555, allocations: 15.86 kB / 491 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.1555, allocations: 11.98 kB / 491 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.1556, allocations: 19.92 kB / 491 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1556, allocations: 4 kB / 491 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.156, allocations: 143.8 kB / 491.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.156, allocations: 11.88 kB / 491.2 MB, free: 8.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1561, allocations: 29.7 kB / 491.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1563, allocations: 83.88 kB / 491.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1563, allocations: 0 / 491.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1563, allocations: 0 / 491.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1563, allocations: 0 / 491.3 MB, free: 8.277 MB / 330.7 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.0005143/0.1568, allocations: 363.5 kB / 491.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1569, allocations: 8.031 kB / 491.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1569, allocations: 4 kB / 491.6 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.1571, allocations: 170.9 kB / 491.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1571, allocations: 4 kB / 491.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1572, allocations: 4 kB / 491.8 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1573, allocations: 49.67 kB / 491.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1574, allocations: 7.906 kB / 491.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1574, allocations: 4 kB / 491.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1574, allocations: 0 / 491.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.1575, allocations: 31.92 kB / 491.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1578, allocations: 177.6 kB / 492.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1581, allocations: 54.55 kB / 492.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/0.1585, allocations: 117 kB / 492.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1586, allocations: 38.84 kB / 492.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.1586, allocations: 3.938 kB / 492.3 MB, free: 7.082 MB / 330.7 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.2863/0.4449, allocations: 6.601 MB / 498.9 MB, free: 452 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.445, allocations: 55.88 kB / 498.9 MB, free: 384 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4451, allocations: 101.8 kB / 499 MB, free: 272 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.4452, allocations: 29.7 kB / 499.1 MB, free: 236 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.4453, allocations: 158.6 kB / 499.2 MB, free: 76 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4455, allocations: 63 kB / 499.3 MB, free: 12 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.4455, allocations: 11.94 kB / 499.3 MB, free: 0 / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4457, allocations: 318.8 kB / 499.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.4468, allocations: 243.8 kB / 499.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4479, allocations: 247.8 kB / 0.4884 GB, free: 15.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.45, allocations: 291.8 kB / 0.4887 GB, free: 14.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.45, allocations: 0 / 0.4887 GB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003527/0.4535, allocations: 0.63 MB / 0.4893 GB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4536, allocations: 8 kB / 0.4893 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4536, allocations: 0 / 0.4893 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4537, allocations: 7.938 kB / 0.4893 GB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.455, allocations: 120 kB / 0.4894 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.455, allocations: 0 / 0.4894 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.456, allocations: 39.95 kB / 0.4894 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4561, allocations: 35.91 kB / 0.4895 GB, free: 14.07 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.4563, allocations: 125.8 kB / 0.4896 GB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.4564, allocations: 7.906 kB / 0.4896 GB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.4605, allocations: 0.7626 MB / 0.4903 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4605, allocations: 0 / 0.4903 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4606, allocations: 0 / 0.4903 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4606, allocations: 4 kB / 0.4903 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007879/0.4685, allocations: 1.219 MB / 0.4915 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4685, allocations: 0 / 0.4915 GB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.4696, allocations: 111.9 kB / 0.4916 GB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.4697, allocations: 8 kB / 0.4917 GB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.4698, allocations: 27.95 kB / 0.4917 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4698, allocations: 4 kB / 0.4917 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.4698, allocations: 4 kB / 0.4917 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.4731, allocations: 0.6781 MB / 0.4923 GB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.4732, allocations: 89.02 kB / 0.4924 GB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/0.4733, allocations: 4 kB / 0.4924 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.4742, allocations: 43.91 kB / 0.4925 GB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4743, allocations: 15.92 kB / 0.4925 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-05/0.4744, allocations: 31.95 kB / 0.4925 GB, free: 10.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.4744, allocations: 79.28 kB / 0.4926 GB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4744, allocations: 0 / 0.4926 GB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002598/0.4771, allocations: 0.6445 MB / 0.4932 GB, free: 10.04 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005271/0.4824, allocations: 310.9 kB / 0.4935 GB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.4848, allocations: 475.5 kB / 0.494 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4848, allocations: 0 / 0.494 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.4859, allocations: 216.1 kB / 0.4942 GB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4861, allocations: 19.88 kB / 0.4942 GB, free: 9.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.4909, allocations: 0.6109 MB / 0.4948 GB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.4912, allocations: 0.6968 MB / 0.4955 GB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.4918, allocations: 91.28 kB / 0.4956 GB, free: 7.551 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4919, allocations: 0 / 0.4956 GB, free: 7.551 MB / 346.7 MB Notification: Performance of Templates: time 0.04366/0.5355, allocations: 19.1 MB / 0.5142 GB, free: 4.418 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches