Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002017/0.002017, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001088/0.001088, allocations: 88.48 kB / 270.9 MB, free: 8.383 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.4836/0.4836, allocations: 43.54 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 58.86 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5545, allocations: 84.35 MB / 0.5611 GB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.5548, allocations: 67.95 kB / 0.5612 GB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007145/0.562, allocations: 1.779 MB / 0.5629 GB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.562, allocations: 4 kB / 0.5629 GB, free: 392 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.562, allocations: 0 / 0.5629 GB, free: 392 kB / 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.0003629/0.5624, allocations: 369.9 kB / 0.5633 GB, free: 15.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5625, allocations: 8.031 kB / 0.5633 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.5625, allocations: 16.22 kB / 0.5633 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5626, allocations: 163 kB / 0.5634 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5627, allocations: 4 kB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.5627, allocations: 0 / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5629, allocations: 57.61 kB / 0.5635 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5629, allocations: 8 kB / 0.5635 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5629, allocations: 1.031 kB / 0.5635 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5629, allocations: 0 / 0.5635 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.563, allocations: 29.36 kB / 0.5635 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.5633, allocations: 177.5 kB / 0.5637 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.5635, allocations: 54.59 kB / 0.5638 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.5639, allocations: 117 kB / 0.5639 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.5639, allocations: 34.56 kB / 0.5639 GB, free: 15.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.564, allocations: 0 / 0.5639 GB, free: 15.2 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.07733/0.6413, allocations: 2.812 MB / 0.5667 GB, free: 12.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6414, allocations: 55.41 kB / 0.5667 GB, free: 12.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.6415, allocations: 96.98 kB / 0.5668 GB, free: 12.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.6415, allocations: 29.64 kB / 0.5668 GB, free: 12.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.6416, allocations: 154.6 kB / 0.567 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6417, allocations: 67 kB / 0.567 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.6418, allocations: 0 / 0.567 GB, free: 11.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6419, allocations: 330.8 kB / 0.5674 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.6427, allocations: 183.9 kB / 0.5675 GB, free: 11.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.6434, allocations: 191.9 kB / 0.5677 GB, free: 11.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.6443, allocations: 223.5 kB / 0.5679 GB, free: 11.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6444, allocations: 0 / 0.5679 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001855/0.6462, allocations: 489.4 kB / 0.5684 GB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6463, allocations: 8 kB / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6463, allocations: 0 / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6463, allocations: 0 / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.647, allocations: 87.86 kB / 0.5685 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.647, allocations: 3.594 kB / 0.5685 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.6474, allocations: 31.92 kB / 0.5685 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.6475, allocations: 15.98 kB / 0.5685 GB, free: 10.41 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.0001646/0.6477, allocations: 121.8 kB / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.6478, allocations: 7.906 kB / 0.5687 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.6501, allocations: 0.5721 MB / 0.5692 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6501, allocations: 7.984 kB / 0.5692 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6501, allocations: 0 / 0.5692 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6501, allocations: 0 / 0.5692 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.6538, allocations: 0.9454 MB / 0.5701 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6538, allocations: 0 / 0.5701 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.6544, allocations: 84.06 kB / 0.5702 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.6544, allocations: 4 kB / 0.5702 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.6544, allocations: 12 kB / 0.5702 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.6545, allocations: 4 kB / 0.5702 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6545, allocations: 3.984 kB / 0.5703 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6561, allocations: 0.5653 MB / 0.5708 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.6562, allocations: 87.08 kB / 0.5709 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.6563, allocations: 7.953 kB / 0.5709 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.6566, allocations: 31.97 kB / 0.5709 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.6567, allocations: 15.98 kB / 0.5709 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.6567, allocations: 12 kB / 0.571 GB, free: 7.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.6568, allocations: 83.27 kB / 0.571 GB, free: 7.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6568, allocations: 4 kB / 0.571 GB, free: 7.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001257/0.6581, allocations: 339.7 kB / 0.5714 GB, free: 7.359 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.002045/0.6601, allocations: 274.8 kB / 0.5716 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.6617, allocations: 371.7 kB / 0.572 GB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6617, allocations: 0 / 0.572 GB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.6623, allocations: 164.2 kB / 0.5721 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6626, allocations: 11.98 kB / 0.5721 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6649, allocations: 0.4974 MB / 0.5726 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.6652, allocations: 0.7045 MB / 0.5733 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.6655, allocations: 51.39 kB / 0.5734 GB, free: 5.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6655, allocations: 0 / 0.5734 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.01733/0.6829, allocations: 7.422 MB / 0.5806 GB, free: 13.82 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches