Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008033/0.008034, allocations: 100 kB / 15.87 MB, free: 6.309 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.001882/0.001882, allocations: 195 kB / 16.79 MB, free: 6.238 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.352/1.352, allocations: 205.1 MB / 222.6 MB, free: 4.719 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.3431/0.3431, allocations: 43.49 MB / 313.5 MB, free: 8.508 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.001673/0.001673, allocations: 63.91 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1192, allocations: 57.79 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002117/0.1214, allocations: 0.6047 MB / 440.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.1222, allocations: 434.2 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1223, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1223, allocations: 3.938 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.1224, allocations: 0 / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.1229, allocations: 107.8 kB / 441 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.123, allocations: 27.97 kB / 441 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.123, allocations: 4 kB / 441 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1231, allocations: 11.94 kB / 441 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.1231, allocations: 23.91 kB / 441 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1231, allocations: 0 / 441 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.1234, allocations: 159.8 kB / 441.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.1234, allocations: 15.91 kB / 441.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1235, allocations: 11.94 kB / 441.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1237, allocations: 132 kB / 441.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1237, allocations: 0 / 441.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1237, allocations: 4 kB / 441.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1237, allocations: 0 / 441.3 MB, free: 13.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004641/0.1242, allocations: 367.4 kB / 441.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1242, allocations: 8.031 kB / 441.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1243, allocations: 8.844 kB / 441.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1244, allocations: 164.3 kB / 441.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1245, allocations: 8.312 kB / 441.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1245, allocations: 12.38 kB / 441.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1247, allocations: 70.22 kB / 442 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1247, allocations: 7.938 kB / 442 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1247, allocations: 4 kB / 442 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1247, allocations: 0 / 442 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.1248, allocations: 43.95 kB / 442 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.125, allocations: 173.6 kB / 442.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1252, allocations: 90.47 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.1253, allocations: 28.84 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.1255, allocations: 113 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1256, allocations: 30.56 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1256, allocations: 0 / 442.4 MB, free: 12.01 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.134/0.2596, allocations: 5.611 MB / 448.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2597, allocations: 51.41 kB / 448.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.2598, allocations: 93.86 kB / 448.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2598, allocations: 29.7 kB / 448.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.2599, allocations: 84.45 kB / 448.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.26, allocations: 82.83 kB / 448.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2601, allocations: 57.8 kB / 448.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2602, allocations: 322.8 kB / 448.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.2606, allocations: 111.9 kB / 448.9 MB, free: 5.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.2609, allocations: 119.8 kB / 449 MB, free: 5.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2623, allocations: 324.5 kB / 449.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2623, allocations: 0 / 449.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001262/0.2636, allocations: 357.8 kB / 449.7 MB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2636, allocations: 4 kB / 449.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2636, allocations: 4 kB / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2637, allocations: 0 / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.2641, allocations: 91.78 kB / 449.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2641, allocations: 0 / 449.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2643, allocations: 19.97 kB / 449.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.2644, allocations: 27.92 kB / 449.8 MB, free: 4.559 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 (23): * Single equations (assignments): 23 * 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.0001308/0.2645, allocations: 117.8 kB / 449.9 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2646, allocations: 7.906 kB / 449.9 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.266, allocations: 433.8 kB / 450.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.266, allocations: 4 kB / 450.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.266, allocations: 0 / 450.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.2661, allocations: 3.984 kB / 450.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.2683, allocations: 0.7766 MB / 451.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2683, allocations: 4.062 kB / 451.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.2686, allocations: 79.86 kB / 451.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.2686, allocations: 4 kB / 451.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2686, allocations: 7.984 kB / 451.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2686, allocations: 4 kB / 451.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2686, allocations: 0 / 451.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2698, allocations: 432.7 kB / 451.7 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2699, allocations: 89 kB / 451.7 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.2699, allocations: 4 kB / 451.7 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2701, allocations: 31.97 kB / 451.8 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.2702, allocations: 11.98 kB / 451.8 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2702, allocations: 11.98 kB / 451.8 MB, free: 2.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.2702, allocations: 83.28 kB / 451.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2702, allocations: 4.094 kB / 451.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001872/0.2721, allocations: 0.6288 MB / 452.5 MB, free: 1.723 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003478/0.2756, allocations: 302.8 kB / 452.8 MB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.2764, allocations: 259.7 kB / 453.1 MB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2764, allocations: 0 / 453.1 MB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.2768, allocations: 127.8 kB / 453.2 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.2771, allocations: 19.5 kB / 453.2 MB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.278, allocations: 365.1 kB / 453.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2048/0.4829, allocations: 0.6956 MB / 454.3 MB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.4833, allocations: 75.78 kB / 454.3 MB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4835, allocations: 47.5 kB / 454.4 MB, free: 47.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4835, allocations: 0 / 454.4 MB, free: 47.03 MB / 382.1 MB Notification: Performance of Templates: time 0.0785/0.562, allocations: 53.75 MB / 0.4962 GB, free: 25.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches