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.0008832/0.0008832, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009196/0.0009197, allocations: 172.2 kB / 16.56 MB, free: 6.379 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.314/1.314, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3138/0.3138, allocations: 43.54 MB / 314.5 MB, free: 8.988 MB / 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.0004665/0.0004667, allocations: 12 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006043/0.1303, allocations: 267 kB / 443 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.1309, allocations: 348.7 kB / 443.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.1309, allocations: 4 kB / 443.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.028e-05/0.1309, allocations: 0 / 443.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.131, allocations: 0 / 443.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1314, allocations: 71.8 kB / 443.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.1314, allocations: 19.91 kB / 443.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.1315, allocations: 8 kB / 443.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.1315, allocations: 7.984 kB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.1316, allocations: 15.92 kB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1316, allocations: 4 kB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1318, allocations: 103.9 kB / 443.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.1319, allocations: 7.938 kB / 443.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1319, allocations: 29.7 kB / 443.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.132, allocations: 60.19 kB / 443.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1321, allocations: 8 kB / 443.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1321, allocations: 0 / 443.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1321, allocations: 0 / 443.7 MB, free: 12.37 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.000402/0.1325, allocations: 355.2 kB / 444 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1325, allocations: 15.97 kB / 444 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1326, allocations: 3.906 kB / 444.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1327, allocations: 178.9 kB / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1327, allocations: 0 / 444.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1328, allocations: 8 kB / 444.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1329, allocations: 57.61 kB / 444.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1329, allocations: 0 / 444.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1329, allocations: 4 kB / 444.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.133, allocations: 4 kB / 444.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.133, allocations: 27.92 kB / 444.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.1332, allocations: 173.5 kB / 444.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1335, allocations: 54.56 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.1338, allocations: 117.1 kB / 444.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1338, allocations: 34.84 kB / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1338, allocations: 3.938 kB / 444.7 MB, free: 11.18 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.03944/0.1733, allocations: 2.817 MB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1734, allocations: 55.41 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1735, allocations: 109.8 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1735, allocations: 33.7 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.1736, allocations: 80.14 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.1736, allocations: 67 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1737, allocations: 4 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1738, allocations: 322.8 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.1742, allocations: 191.9 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.1746, allocations: 187.9 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1751, allocations: 220 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1751, allocations: 0 / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001023/0.1761, allocations: 489.3 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1762, allocations: 4 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1762, allocations: 4 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1762, allocations: 4 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1766, allocations: 79.88 kB / 449.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1766, allocations: 4 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1768, allocations: 27.94 kB / 449.4 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.1769, allocations: 19.98 kB / 449.4 MB, free: 6.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.177, allocations: 121.8 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.177, allocations: 7.984 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.1783, allocations: 0.5682 MB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1783, allocations: 4 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1783, allocations: 0 / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1783, allocations: 0 / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.1805, allocations: 0.9439 MB / 451 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1805, allocations: 7.953 kB / 451 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.1808, allocations: 75.88 kB / 451.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1808, allocations: 8.188 kB / 451.1 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1808, allocations: 19.98 kB / 451.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1809, allocations: 0 / 451.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.1809, allocations: 7.938 kB / 451.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.1818, allocations: 0.5494 MB / 451.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1819, allocations: 85.27 kB / 451.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1819, allocations: 15.94 kB / 451.8 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.1821, allocations: 36.45 kB / 451.8 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1821, allocations: 11.92 kB / 451.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.1822, allocations: 23.98 kB / 451.9 MB, free: 3.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.1822, allocations: 79.28 kB / 451.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1822, allocations: 0 / 451.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009627/0.1832, allocations: 315.9 kB / 452.2 MB, free: 3.363 MB / 382.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 (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.001203/0.1844, allocations: 239.1 kB / 452.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008128/0.1852, allocations: 379.2 kB / 452.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1853, allocations: 0 / 452.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.1856, allocations: 160.2 kB / 453 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1858, allocations: 4 kB / 453 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1871, allocations: 480.3 kB / 453.5 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1874, allocations: 0.7046 MB / 454.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000352/0.1878, allocations: 92.88 kB / 454.3 MB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.1879, allocations: 51.41 kB / 454.3 MB, free: 1.199 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.188, allocations: 0 / 454.3 MB, free: 1.199 MB / 382.1 MB Notification: Performance of Templates: time 0.2188/0.4068, allocations: 17.46 MB / 471.8 MB, free: 44.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches