Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 112.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.5 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.12 MB / 343.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 80.02 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1102, allocations: 62.45 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001914/0.1121, allocations: 0.5981 MB / 480.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007041/0.1128, allocations: 366.7 kB / 480.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1129, allocations: 4 kB / 480.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1129, allocations: 0 / 480.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.113, allocations: 3.938 kB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1134, allocations: 83.86 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.1134, allocations: 27.92 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.1135, allocations: 4 kB / 480.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.1135, allocations: 23.86 kB / 480.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.1136, allocations: 11.92 kB / 480.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1136, allocations: 0 / 480.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1139, allocations: 119.9 kB / 480.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.1139, allocations: 7.922 kB / 480.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1139, allocations: 15.92 kB / 480.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1141, allocations: 104 kB / 480.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1141, allocations: 0 / 480.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1141, allocations: 0 / 480.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1141, allocations: 4 kB / 480.9 MB, free: 4.148 MB / 350.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.0004796/0.1146, allocations: 359.4 kB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1147, allocations: 8.031 kB / 481.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1147, allocations: 8.844 kB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1149, allocations: 168.3 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1149, allocations: 8.375 kB / 481.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1149, allocations: 4.375 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.115, allocations: 54.23 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1151, allocations: 192 / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1151, allocations: 7.938 kB / 481.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1151, allocations: 0 / 481.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.1152, allocations: 31.92 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.1154, allocations: 173.6 kB / 481.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.1156, allocations: 54.55 kB / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.1157, allocations: 28.84 kB / 481.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.1159, allocations: 109.1 kB / 481.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.116, allocations: 34.84 kB / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 3.125e-06/0.116, allocations: 0 / 482 MB, free: 2.938 MB / 350.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.04464/0.1606, allocations: 2.591 MB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1607, allocations: 55.34 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.1608, allocations: 105.8 kB / 484.7 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1609, allocations: 25.7 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.1609, allocations: 88.14 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.161, allocations: 59.28 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1612, allocations: 53.69 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1613, allocations: 326.8 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.1618, allocations: 175.9 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.1622, allocations: 171.9 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.1633, allocations: 414.9 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1633, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001133/0.1644, allocations: 465.1 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1644, allocations: 8 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1645, allocations: 0 / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1645, allocations: 0 / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.1649, allocations: 67.94 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1649, allocations: 4.469 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1652, allocations: 23.97 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.1652, allocations: 12 kB / 486.6 MB, free: 14.25 MB / 366.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.0001443/0.1654, allocations: 129.6 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.1654, allocations: 11.91 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1668, allocations: 0.5395 MB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1668, allocations: 4 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1668, allocations: 0 / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1668, allocations: 3.984 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.1691, allocations: 0.8814 MB / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1691, allocations: 4 kB / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.1694, allocations: 63.95 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1694, allocations: 4.25 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.1695, allocations: 16.17 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.1695, allocations: 8 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1695, allocations: 7.938 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/0.1705, allocations: 456.3 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1706, allocations: 89.02 kB / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1706, allocations: 7.984 kB / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.1708, allocations: 23.98 kB / 488.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1708, allocations: 15.92 kB / 488.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.1709, allocations: 19.98 kB / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.1709, allocations: 79.28 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009042/0.1719, allocations: 312 kB / 489.2 MB, free: 11.46 MB / 366.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.001356/0.1732, allocations: 247 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.1741, allocations: 335.7 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1741, allocations: 4 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.1745, allocations: 152 kB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1748, allocations: 19.98 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1762, allocations: 445.3 kB / 490.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1765, allocations: 0.6965 MB / 491.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003875/0.1769, allocations: 88.89 kB / 491.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1771, allocations: 51.39 kB / 491.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1771, allocations: 0 / 491.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.02616/0.2033, allocations: 17.78 MB / 0.4971 GB, free: 7.621 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches