Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 179.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008032/0.000803, allocations: 81.11 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3198/0.3198, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 20 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09837, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.298/0.3964, allocations: 84.38 MB / 0.5624 GB, free: 1.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3967, allocations: 63.97 kB / 0.5624 GB, free: 1.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004452/0.4012, allocations: 1.791 MB / 0.5642 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4012, allocations: 4 kB / 0.5642 GB, free: 15.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4012, allocations: 0 / 0.5642 GB, free: 15.8 MB / 394.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.0003311/0.4015, allocations: 370.2 kB / 0.5645 GB, free: 15.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4016, allocations: 8.031 kB / 0.5645 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.4016, allocations: 8.844 kB / 0.5645 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4017, allocations: 168.3 kB / 0.5647 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4018, allocations: 384 / 0.5647 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.4018, allocations: 8.281 kB / 0.5647 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.4019, allocations: 62.17 kB / 0.5648 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4019, allocations: 1.312 kB / 0.5648 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.402, allocations: 3.938 kB / 0.5648 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.402, allocations: 0 / 0.5648 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.402, allocations: 27.98 kB / 0.5648 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.4022, allocations: 169.7 kB / 0.565 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4024, allocations: 54.59 kB / 0.565 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.4025, allocations: 32.84 kB / 0.565 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.4027, allocations: 109.1 kB / 0.5651 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4028, allocations: 34.55 kB / 0.5652 GB, free: 14.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4028, allocations: 2.812 kB / 0.5652 GB, free: 14.59 MB / 394.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.03619/0.439, allocations: 2.818 MB / 0.5679 GB, free: 11.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.4391, allocations: 51.41 kB / 0.568 GB, free: 11.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.4392, allocations: 109.6 kB / 0.5681 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.4392, allocations: 29.64 kB / 0.5681 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.4393, allocations: 88.14 kB / 0.5682 GB, free: 11.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.4393, allocations: 70.94 kB / 0.5683 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.4394, allocations: 0 / 0.5683 GB, free: 11.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4395, allocations: 326.8 kB / 0.5686 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.4399, allocations: 187.9 kB / 0.5688 GB, free: 10.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.4402, allocations: 191.9 kB / 0.5689 GB, free: 10.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.4412, allocations: 453 kB / 0.5694 GB, free: 10.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4412, allocations: 0 / 0.5694 GB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009857/0.4422, allocations: 493.4 kB / 0.5698 GB, free: 9.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4423, allocations: 4 kB / 0.5698 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4423, allocations: 0 / 0.5698 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4423, allocations: 0 / 0.5698 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.4427, allocations: 83.88 kB / 0.5699 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4427, allocations: 0 / 0.5699 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4429, allocations: 23.98 kB / 0.57 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.443, allocations: 19.98 kB / 0.57 GB, free: 9.625 MB / 394.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.0001207/0.4431, allocations: 125.8 kB / 0.5701 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4431, allocations: 11.89 kB / 0.5701 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.4444, allocations: 0.5641 MB / 0.5707 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4444, allocations: 3.984 kB / 0.5707 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4444, allocations: 0 / 0.5707 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4445, allocations: 4 kB / 0.5707 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.4466, allocations: 0.9423 MB / 0.5716 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4466, allocations: 4.188 kB / 0.5716 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.4469, allocations: 79.88 kB / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4469, allocations: 0 / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.447, allocations: 15.98 kB / 0.5717 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.447, allocations: 4 kB / 0.5717 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.447, allocations: 2.5 kB / 0.5717 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.4479, allocations: 0.5014 MB / 0.5722 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.448, allocations: 85.02 kB / 0.5723 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.448, allocations: 0 / 0.5723 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4482, allocations: 31.97 kB / 0.5723 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.4483, allocations: 15.98 kB / 0.5723 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.4483, allocations: 19.98 kB / 0.5723 GB, free: 7.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.4484, allocations: 79.28 kB / 0.5724 GB, free: 7.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4484, allocations: 0 / 0.5724 GB, free: 7.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000883/0.4493, allocations: 347.7 kB / 0.5727 GB, free: 6.684 MB / 394.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.001286/0.4505, allocations: 278.7 kB / 0.573 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.4514, allocations: 367.7 kB / 0.5733 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4514, allocations: 0 / 0.5733 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.4518, allocations: 168.2 kB / 0.5735 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.452, allocations: 15.38 kB / 0.5735 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4533, allocations: 491.5 kB / 0.574 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4536, allocations: 0.6968 MB / 0.5747 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004043/0.454, allocations: 96.88 kB / 0.5748 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4542, allocations: 51.41 kB / 0.5748 GB, free: 4.465 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4542, allocations: 0 / 0.5748 GB, free: 4.465 MB / 394.7 MB Notification: Performance of Templates: time 0.02237/0.4766, allocations: 17.34 MB / 0.5917 GB, free: 3.098 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches