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.001491/0.001491, allocations: 182.2 kB / 13.66 MB, free: 1.664 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.983/1.983, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001087, allocations: 94.64 kB / 267.5 MB, free: 14.04 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.2764/0.2764, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.458e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 58.84 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.572, allocations: 84.27 MB / 0.5551 GB, free: 3.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5723, allocations: 75.58 kB / 0.5552 GB, free: 3.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007399/0.5797, allocations: 1.758 MB / 0.5569 GB, free: 1.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5798, allocations: 0 / 0.5569 GB, free: 1.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5798, allocations: 0 / 0.5569 GB, free: 1.789 MB / 362.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.000318/0.5801, allocations: 363.2 kB / 0.5572 GB, free: 1.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5802, allocations: 8.031 kB / 0.5572 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.5802, allocations: 7.859 kB / 0.5572 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.5803, allocations: 174.9 kB / 0.5574 GB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5804, allocations: 6.875 kB / 0.5574 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.5804, allocations: 8 kB / 0.5574 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5805, allocations: 54.25 kB / 0.5575 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5806, allocations: 0 / 0.5575 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5806, allocations: 0 / 0.5575 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.5806, allocations: 0 / 0.5575 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.5807, allocations: 26.25 kB / 0.5575 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.5809, allocations: 182.8 kB / 0.5577 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.5812, allocations: 61.19 kB / 0.5577 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.5812, allocations: 22.92 kB / 0.5577 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.5815, allocations: 109.1 kB / 0.5578 GB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.5816, allocations: 30.56 kB / 0.5579 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.5816, allocations: 4 kB / 0.5579 GB, free: 0.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.07023/0.6518, allocations: 2.06 MB / 0.5599 GB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6519, allocations: 59.41 kB / 0.5599 GB, free: 14.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.652, allocations: 93.17 kB / 0.56 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.6521, allocations: 33.33 kB / 0.5601 GB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.6522, allocations: 158.4 kB / 0.5602 GB, free: 14.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6523, allocations: 62.05 kB / 0.5603 GB, free: 14.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.6523, allocations: 0 / 0.5603 GB, free: 14.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6524, allocations: 322.3 kB / 0.5606 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.6528, allocations: 138.3 kB / 0.5607 GB, free: 13.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.6532, allocations: 139 kB / 0.5609 GB, free: 13.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.6538, allocations: 170.8 kB / 0.561 GB, free: 13.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6538, allocations: 0 / 0.561 GB, free: 13.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001167/0.655, allocations: 395.1 kB / 0.5614 GB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.655, allocations: 4 kB / 0.5614 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6551, allocations: 3.984 kB / 0.5614 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6551, allocations: 4 kB / 0.5614 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/0.6558, allocations: 79.56 kB / 0.5615 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.6559, allocations: 3.953 kB / 0.5615 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.6563, allocations: 23.98 kB / 0.5615 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.6563, allocations: 21.8 kB / 0.5615 GB, free: 13.34 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 () * 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.0001418/0.6565, allocations: 108.5 kB / 0.5616 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.6566, allocations: 11.91 kB / 0.5616 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.6582, allocations: 480 kB / 0.5621 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6582, allocations: 4 kB / 0.5621 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6582, allocations: 0 / 0.5621 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6582, allocations: 0 / 0.5621 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.6613, allocations: 0.8448 MB / 0.5629 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.6613, allocations: 4 kB / 0.5629 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.6619, allocations: 76.12 kB / 0.563 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.6619, allocations: 4 kB / 0.563 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.662, allocations: 19.05 kB / 0.563 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.662, allocations: 4.812 kB / 0.563 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.662, allocations: 4 kB / 0.563 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.663, allocations: 462.7 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.6631, allocations: 88.36 kB / 0.5636 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.6631, allocations: 15.88 kB / 0.5636 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.6635, allocations: 23.23 kB / 0.5636 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.6636, allocations: 19.17 kB / 0.5636 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.6636, allocations: 16.23 kB / 0.5636 GB, free: 11.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.6637, allocations: 86.72 kB / 0.5637 GB, free: 11.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6637, allocations: 0 / 0.5637 GB, free: 11.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001308/0.665, allocations: 342.7 kB / 0.564 GB, free: 10.89 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 () * 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.002187/0.6673, allocations: 273.8 kB / 0.5643 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.6682, allocations: 276.4 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6682, allocations: 0 / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.6686, allocations: 119.4 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.6688, allocations: 11.38 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.6708, allocations: 396.1 kB / 0.5651 GB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.6711, allocations: 0.6929 MB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.6714, allocations: 59.39 kB / 0.5658 GB, free: 9.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6714, allocations: 0 / 0.5658 GB, free: 9.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01794/0.6894, allocations: 7.238 MB / 0.5729 GB, free: 1.926 MB / 378.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