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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104.5 kB / 17.08 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 195.3 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1914/0.1914, allocations: 43.52 MB / 314.8 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 71.83 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09753, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001638/0.0992, allocations: 0.5338 MB / 0.4891 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.09989, allocations: 367.2 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.09993, allocations: 0 / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.09996, allocations: 3.938 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1, allocations: 7.938 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.1004, allocations: 107.6 kB / 0.4895 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.1005, allocations: 27.91 kB / 0.4896 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1006, allocations: 3.984 kB / 0.4896 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.1006, allocations: 15.94 kB / 0.4896 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.1006, allocations: 15.92 kB / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1007, allocations: 4 kB / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1009, allocations: 115.9 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1009, allocations: 12 kB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1009, allocations: 15.86 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1011, allocations: 95.8 kB / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1011, allocations: 0 / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1011, allocations: 4 kB / 0.4898 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1011, allocations: 0 / 0.4898 GB, free: 10.52 MB / 382.1 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.0003883/0.1015, allocations: 363.3 kB / 0.4902 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1016, allocations: 12.02 kB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1016, allocations: 12.88 kB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1017, allocations: 172.2 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1018, allocations: 4.375 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1018, allocations: 4.375 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1019, allocations: 54.23 kB / 0.4904 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1019, allocations: 192 / 0.4904 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1019, allocations: 7.938 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.102, allocations: 4 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.102, allocations: 27.92 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1022, allocations: 165.6 kB / 0.4906 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1024, allocations: 62.55 kB / 0.4907 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.1025, allocations: 28.84 kB / 0.4907 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.1027, allocations: 101.1 kB / 0.4908 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1028, allocations: 34.83 kB / 0.4908 GB, free: 9.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.066e-06/0.1028, allocations: 0 / 0.4908 GB, free: 9.309 MB / 382.1 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.04373/0.1465, allocations: 2.594 MB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1466, allocations: 63.34 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.1467, allocations: 97.86 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.1467, allocations: 29.7 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1468, allocations: 84.14 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1468, allocations: 63.08 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.147, allocations: 61.69 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1471, allocations: 318.8 kB / 0.4941 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.1475, allocations: 175.9 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1479, allocations: 175.9 kB / 0.4944 GB, free: 5.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1489, allocations: 420.6 kB / 0.4948 GB, free: 5.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1489, allocations: 0 / 0.4948 GB, free: 5.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001092/0.15, allocations: 460.8 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1501, allocations: 8 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1501, allocations: 256 / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1501, allocations: 0 / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1505, allocations: 71.94 kB / 0.4953 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.1505, allocations: 0 / 0.4953 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.1508, allocations: 19.98 kB / 0.4953 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1508, allocations: 15.98 kB / 0.4953 GB, free: 4.605 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.151, allocations: 133.7 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.1511, allocations: 7.906 kB / 0.4955 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.1524, allocations: 0.5329 MB / 0.496 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1524, allocations: 4 kB / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1524, allocations: 0 / 0.496 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1525, allocations: 81.02 kB / 0.4961 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.1525, allocations: 15.98 kB / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1528, allocations: 19.92 kB / 0.4961 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1528, allocations: 7.984 kB / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001232/0.154, allocations: 0.5557 MB / 0.4967 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001044/0.1551, allocations: 0.6073 MB / 0.4973 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003647/0.1555, allocations: 195.9 kB / 0.4974 GB, free: 2.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.1555, allocations: 79.28 kB / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of Backend: time 5.91e-07/0.1555, allocations: 0 / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.1576, allocations: 453.9 kB / 0.4979 GB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004697/0.1581, allocations: 0.6033 MB / 0.4985 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Templates: time 0.02277/0.1809, allocations: 18.65 MB / 0.5168 GB, free: 14.5 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches