Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.758/1.758, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3367/0.3367, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 75.03 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 62.45 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002424/0.1533, allocations: 0.5926 MB / 480.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1545, allocations: 434.8 kB / 481 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1545, allocations: 3.938 kB / 481 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.1546, allocations: 4 kB / 481 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.1547, allocations: 0 / 481 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.1554, allocations: 103.7 kB / 481.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1554, allocations: 27.97 kB / 481.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.1555, allocations: 7.938 kB / 481.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.1555, allocations: 4 kB / 481.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.1556, allocations: 19.86 kB / 481.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1556, allocations: 8 kB / 481.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.1559, allocations: 159.8 kB / 481.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.156, allocations: 7.984 kB / 481.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.156, allocations: 19.86 kB / 481.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1562, allocations: 75.89 kB / 481.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1562, allocations: 0 / 481.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1562, allocations: 0 / 481.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1562, allocations: 0 / 481.4 MB, free: 4.273 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.0005001/0.1567, allocations: 367.7 kB / 481.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1568, allocations: 8.031 kB / 481.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1568, allocations: 4.938 kB / 481.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.157, allocations: 172.2 kB / 481.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.157, allocations: 384 / 481.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.157, allocations: 12.38 kB / 481.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1572, allocations: 58.17 kB / 482 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1572, allocations: 7.938 kB / 482 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1572, allocations: 0 / 482 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1573, allocations: 0 / 482 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.1573, allocations: 23.98 kB / 482 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.1576, allocations: 177.6 kB / 482.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1578, allocations: 58.58 kB / 482.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1579, allocations: 24.86 kB / 482.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.1582, allocations: 105.1 kB / 482.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1582, allocations: 30.56 kB / 482.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1583, allocations: 8 kB / 482.4 MB, free: 3.059 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.1728/0.331, allocations: 6.383 MB / 488.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3311, allocations: 55.41 kB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3314, allocations: 105.8 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.3314, allocations: 29.7 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3315, allocations: 80.14 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3316, allocations: 63.09 kB / 489.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.3319, allocations: 93.59 kB / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3321, allocations: 322.8 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.3328, allocations: 227.8 kB / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.3334, allocations: 231.8 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.3356, allocations: 0.5536 MB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3356, allocations: 0 / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002136/0.3378, allocations: 0.6104 MB / 491.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.3378, allocations: 4 kB / 491.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3378, allocations: 0 / 491.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3379, allocations: 4 kB / 491.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.3386, allocations: 111.8 kB / 491.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3387, allocations: 0 / 491.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.3392, allocations: 27.95 kB / 491.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.3392, allocations: 35.94 kB / 491.3 MB, free: 10.06 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.0001859/0.3394, allocations: 117.8 kB / 491.4 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.3395, allocations: 7.906 kB / 491.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.3421, allocations: 0.734 MB / 492.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3422, allocations: 4 kB / 492.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3422, allocations: 3.938 kB / 492.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3422, allocations: 0 / 492.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006144/0.3483, allocations: 1.157 MB / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3484, allocations: 0 / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.3493, allocations: 107.8 kB / 493.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.3493, allocations: 4 kB / 493.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.3494, allocations: 24.14 kB / 493.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.3494, allocations: 8.469 kB / 493.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3494, allocations: 0 / 493.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3515, allocations: 0.5859 MB / 494.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3516, allocations: 89 kB / 494.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.3517, allocations: 8.25 kB / 494.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.3522, allocations: 35.89 kB / 494.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3522, allocations: 15.98 kB / 494.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.3523, allocations: 27.95 kB / 494.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.3523, allocations: 83.28 kB / 494.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3523, allocations: 0 / 494.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002262/0.3546, allocations: 0.6444 MB / 495 MB, free: 6.27 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.003809/0.3584, allocations: 290.9 kB / 495.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.3599, allocations: 451.6 kB / 495.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3599, allocations: 0 / 495.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005878/0.3605, allocations: 211.4 kB / 495.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3608, allocations: 14.58 kB / 495.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.3637, allocations: 0.5718 MB / 496.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.364, allocations: 0.6968 MB / 497.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.3644, allocations: 91.28 kB / 497.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.3644, allocations: 0 / 497.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of Templates: time 0.03471/0.3991, allocations: 15.93 MB / 0.5012 GB, free: 3.957 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches