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.001462/0.001462, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.001666/0.001666, allocations: 195 kB / 17.97 MB, free: 5.027 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.303/1.303, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.21/0.21, allocations: 43.51 MB / 314.7 MB, free: 492 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.001509/0.001509, allocations: 64.81 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08154, allocations: 57.79 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001604/0.08318, allocations: 0.5378 MB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005037/0.0837, allocations: 371.1 kB / 442.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.08374, allocations: 0 / 442.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.08378, allocations: 0 / 442.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.0838, allocations: 3.938 kB / 442.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.08416, allocations: 115.6 kB / 443 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.652e-05/0.08422, allocations: 23.98 kB / 443 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.08426, allocations: 4 kB / 443 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.08428, allocations: 11.92 kB / 443 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.08433, allocations: 19.91 kB / 443 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.08435, allocations: 7.938 kB / 443.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.08452, allocations: 107.9 kB / 443.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.08455, allocations: 19.91 kB / 443.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.08457, allocations: 11.94 kB / 443.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.08471, allocations: 91.81 kB / 443.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08472, allocations: 0 / 443.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08473, allocations: 11.88 kB / 443.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.08474, allocations: 0 / 443.3 MB, free: 4.852 MB / 318.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.0002942/0.08504, allocations: 363.4 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.08507, allocations: 8.031 kB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.0851, allocations: 4.938 kB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.914e-05/0.08517, allocations: 168.3 kB / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.08518, allocations: 384 / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.08521, allocations: 8.375 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.08531, allocations: 58.17 kB / 443.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.08533, allocations: 8.188 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.08534, allocations: 3.938 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.08535, allocations: 0 / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.08541, allocations: 23.98 kB / 443.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.08553, allocations: 173.6 kB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.08573, allocations: 58.58 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.08577, allocations: 24.86 kB / 444.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.08601, allocations: 109.1 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.08603, allocations: 34.56 kB / 444.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.08604, allocations: 0 / 444.3 MB, free: 3.645 MB / 318.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.04076/0.1268, allocations: 2.585 MB / 446.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.1269, allocations: 55.41 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.477e-05/0.1269, allocations: 101.8 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.127, allocations: 37.7 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.127, allocations: 80.14 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.127, allocations: 59.11 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1272, allocations: 61.67 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.1272, allocations: 318.8 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.1275, allocations: 171.9 kB / 447.8 MB, free: 112 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.1279, allocations: 179.9 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.1288, allocations: 415.7 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1288, allocations: 4 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009775/0.1298, allocations: 457.6 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1299, allocations: 4 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1299, allocations: 0 / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1299, allocations: 4 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.1303, allocations: 79.88 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1303, allocations: 4 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.1305, allocations: 15.97 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.1306, allocations: 20.45 kB / 448.9 MB, free: 14.95 MB / 334.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.0001097/0.1307, allocations: 121.7 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1307, allocations: 7.906 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.1319, allocations: 0.5441 MB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1319, allocations: 0 / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1319, allocations: 7.922 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.132, allocations: 0 / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.134, allocations: 0.8851 MB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.134, allocations: 3.938 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.1343, allocations: 71.88 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1343, allocations: 4 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.1344, allocations: 12.19 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1344, allocations: 8 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1344, allocations: 3.984 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.1353, allocations: 460.3 kB / 451 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1353, allocations: 89 kB / 451.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.1354, allocations: 8 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1356, allocations: 15.98 kB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1356, allocations: 19.97 kB / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.1356, allocations: 19.98 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.1357, allocations: 91.27 kB / 451.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 0 / 451.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007778/0.1365, allocations: 311.9 kB / 451.6 MB, free: 12.15 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.1377, allocations: 239 kB / 451.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007919/0.1385, allocations: 335.7 kB / 452.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1386, allocations: 0 / 452.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.1389, allocations: 156.1 kB / 452.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1392, allocations: 8 kB / 452.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1404, allocations: 421.9 kB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1407, allocations: 0.6965 MB / 453.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1409, allocations: 96.88 kB / 453.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1411, allocations: 47.41 kB / 453.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1411, allocations: 0 / 453.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Templates: time 0.02274/0.1639, allocations: 17.77 MB / 471.3 MB, free: 8.277 MB / 350.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 -s gbode -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