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.001246/0.001246, allocations: 184.6 kB / 15.76 MB, free: 6.363 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.611/1.611, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008688/0.0008689, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.1995/0.1995, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002919, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4735, allocations: 84.36 MB / 0.5611 GB, free: 15.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4738, allocations: 65.09 kB / 0.5612 GB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005192/0.479, allocations: 1.782 MB / 0.5629 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.479, allocations: 4 kB / 0.5629 GB, free: 13.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.479, allocations: 0 / 0.5629 GB, free: 13.87 MB / 378.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.0003839/0.4794, allocations: 370.4 kB / 0.5633 GB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4795, allocations: 8.031 kB / 0.5633 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.4795, allocations: 3.953 kB / 0.5633 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.4797, allocations: 167 kB / 0.5635 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4797, allocations: 7.234 kB / 0.5635 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4797, allocations: 7.984 kB / 0.5635 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4799, allocations: 55.81 kB / 0.5635 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4799, allocations: 7.844 kB / 0.5635 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4799, allocations: 6.625 kB / 0.5636 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4799, allocations: 0 / 0.5636 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.48, allocations: 25.67 kB / 0.5636 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.4802, allocations: 168.9 kB / 0.5637 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.4804, allocations: 62.14 kB / 0.5638 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.4807, allocations: 109.8 kB / 0.5639 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4807, allocations: 31.88 kB / 0.5639 GB, free: 12.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4807, allocations: 0 / 0.5639 GB, free: 12.71 MB / 378.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.03767/0.5184, allocations: 2.822 MB / 0.5667 GB, free: 10.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5185, allocations: 55.41 kB / 0.5667 GB, free: 10.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.5185, allocations: 96.17 kB / 0.5668 GB, free: 9.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.5186, allocations: 25.7 kB / 0.5669 GB, free: 9.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.5187, allocations: 83.83 kB / 0.5669 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.5187, allocations: 66.27 kB / 0.567 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5188, allocations: 7.625 kB / 0.567 GB, free: 9.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5189, allocations: 326.3 kB / 0.5673 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.5193, allocations: 187.8 kB / 0.5675 GB, free: 9.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.5196, allocations: 183.3 kB / 0.5677 GB, free: 9.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.5201, allocations: 223.2 kB / 0.5679 GB, free: 9.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5201, allocations: 7.922 kB / 0.5679 GB, free: 9.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009835/0.5211, allocations: 492 kB / 0.5684 GB, free: 8.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5212, allocations: 8 kB / 0.5684 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5212, allocations: 0 / 0.5684 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5212, allocations: 0 / 0.5684 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.5216, allocations: 79.94 kB / 0.5684 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5216, allocations: 0 / 0.5684 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.5218, allocations: 31.06 kB / 0.5685 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.5219, allocations: 15.98 kB / 0.5685 GB, free: 8.59 MB / 378.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.0001201/0.522, allocations: 124 kB / 0.5686 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.5221, allocations: 8.594 kB / 0.5686 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.5233, allocations: 0.5754 MB / 0.5692 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5233, allocations: 0 / 0.5692 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5233, allocations: 0 / 0.5692 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5233, allocations: 0 / 0.5692 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.5255, allocations: 0.9471 MB / 0.5701 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5255, allocations: 4.188 kB / 0.5701 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.5258, allocations: 80.12 kB / 0.5702 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5259, allocations: 0 / 0.5702 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.5259, allocations: 23.23 kB / 0.5702 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5259, allocations: 4 kB / 0.5702 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5259, allocations: 0 / 0.5702 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/0.5269, allocations: 0.549 MB / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.527, allocations: 89.98 kB / 0.5708 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.527, allocations: 9.891 kB / 0.5708 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5272, allocations: 30.41 kB / 0.5709 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.5273, allocations: 14.17 kB / 0.5709 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.5273, allocations: 20.86 kB / 0.5709 GB, free: 6.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.5274, allocations: 87.22 kB / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5274, allocations: 0 / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001015/0.5284, allocations: 347.3 kB / 0.5713 GB, free: 5.852 MB / 378.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.00128/0.5297, allocations: 270.7 kB / 0.5716 GB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007799/0.5305, allocations: 372.2 kB / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5305, allocations: 0 / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.5308, allocations: 163.2 kB / 0.5721 GB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.531, allocations: 16.03 kB / 0.5721 GB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.5323, allocations: 482.6 kB / 0.5726 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.5326, allocations: 0.7045 MB / 0.5733 GB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.533, allocations: 88.89 kB / 0.5733 GB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.5332, allocations: 59.08 kB / 0.5734 GB, free: 3.809 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5332, allocations: 0 / 0.5734 GB, free: 3.809 MB / 378.7 MB Notification: Performance of Templates: time 0.0116/0.5448, allocations: 7.619 MB / 0.5808 GB, free: 12.19 MB / 394.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/jenkins/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