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.0009028/0.0009028, allocations: 181.2 kB / 17.41 MB, free: 4.398 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.271/1.271, allocations: 205.4 MB / 223.6 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.0007048/0.0007048, allocations: 97.08 kB / 271.9 MB, free: 8.25 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.3106/0.3106, allocations: 43.55 MB / 363.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.3816, allocations: 84.38 MB / 0.5623 GB, free: 1.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.3819, allocations: 59.97 kB / 0.5624 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004306/0.3862, allocations: 1.791 MB / 0.5641 GB, free: 52 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3862, allocations: 0 / 0.5641 GB, free: 52 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3862, allocations: 0 / 0.5641 GB, free: 52 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.0003412/0.3866, allocations: 374.8 kB / 0.5645 GB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3866, allocations: 12.03 kB / 0.5645 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.3867, allocations: 8.844 kB / 0.5645 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3868, allocations: 168.3 kB / 0.5647 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3868, allocations: 384 / 0.5647 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3868, allocations: 8.281 kB / 0.5647 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.3869, allocations: 57.98 kB / 0.5647 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.387, allocations: 4.125 kB / 0.5647 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.387, allocations: 3.938 kB / 0.5647 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.387, allocations: 8 kB / 0.5648 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.3871, allocations: 27.98 kB / 0.5648 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.3872, allocations: 165.7 kB / 0.5649 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3874, allocations: 50.84 kB / 0.565 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.3875, allocations: 28.78 kB / 0.565 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3877, allocations: 117.1 kB / 0.5651 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3878, allocations: 34.55 kB / 0.5652 GB, free: 14.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3878, allocations: 0 / 0.5652 GB, free: 14.83 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.0349/0.4227, allocations: 2.819 MB / 0.5679 GB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4227, allocations: 55.34 kB / 0.568 GB, free: 11.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.4228, allocations: 105.8 kB / 0.5681 GB, free: 11.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.4229, allocations: 25.7 kB / 0.5681 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.4229, allocations: 84.14 kB / 0.5682 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.423, allocations: 63.02 kB / 0.5682 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.423, allocations: 0 / 0.5682 GB, free: 11.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4231, allocations: 330.8 kB / 0.5685 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.4235, allocations: 183.9 kB / 0.5687 GB, free: 11.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.4239, allocations: 191.9 kB / 0.5689 GB, free: 10.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.4249, allocations: 457 kB / 0.5693 GB, free: 10.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4249, allocations: 0 / 0.5693 GB, free: 10.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.4259, allocations: 493.4 kB / 0.5698 GB, free: 10 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.426, allocations: 4 kB / 0.5698 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.426, allocations: 0 / 0.5698 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.426, allocations: 0 / 0.5698 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.4264, allocations: 79.06 kB / 0.5699 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4264, allocations: 3.938 kB / 0.5699 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.4266, allocations: 31.98 kB / 0.5699 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.4266, allocations: 15.98 kB / 0.5699 GB, free: 9.871 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.0001149/0.4268, allocations: 121.8 kB / 0.5701 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.4268, allocations: 11.89 kB / 0.5701 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4281, allocations: 0.5681 MB / 0.5706 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4281, allocations: 0 / 0.5706 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4281, allocations: 4 kB / 0.5706 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4282, allocations: 0 / 0.5706 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.4302, allocations: 0.9439 MB / 0.5715 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4302, allocations: 4 kB / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.4305, allocations: 80.06 kB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.4305, allocations: 4 kB / 0.5716 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4306, allocations: 15.92 kB / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.4306, allocations: 4 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.4306, allocations: 4 kB / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.4315, allocations: 0.4897 MB / 0.5721 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.4315, allocations: 93.47 kB / 0.5722 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.4316, allocations: 4 kB / 0.5722 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4318, allocations: 29.91 kB / 0.5723 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4318, allocations: 11.98 kB / 0.5723 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.4319, allocations: 23.98 kB / 0.5723 GB, free: 7.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.745e-05/0.4319, allocations: 83.22 kB / 0.5724 GB, free: 7.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4319, allocations: 0 / 0.5724 GB, free: 7.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008607/0.4328, allocations: 347.7 kB / 0.5727 GB, free: 6.926 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.001261/0.4341, allocations: 282.7 kB / 0.573 GB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007946/0.4349, allocations: 363.7 kB / 0.5733 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4349, allocations: 0 / 0.5733 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.4352, allocations: 168.2 kB / 0.5735 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.4355, allocations: 11.44 kB / 0.5735 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4368, allocations: 0.5051 MB / 0.574 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.437, allocations: 0.6968 MB / 0.5747 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.4372, allocations: 55.41 kB / 0.5747 GB, free: 4.777 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4372, allocations: 0 / 0.5747 GB, free: 4.777 MB / 394.7 MB Notification: Performance of Templates: time 0.00878/0.446, allocations: 6.436 MB / 0.581 GB, free: 14.37 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