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.001636/0.001636, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 81.77 kB / 417.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 62.45 MB / 480.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001823/0.1202, allocations: 0.6021 MB / 480.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.121, allocations: 402.8 kB / 481.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.121, allocations: 0 / 481.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1211, allocations: 3.938 kB / 481.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.1211, allocations: 0 / 481.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.1216, allocations: 119.8 kB / 481.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1217, allocations: 23.92 kB / 481.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1217, allocations: 7.984 kB / 481.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.1217, allocations: 15.94 kB / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1218, allocations: 23.84 kB / 481.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1218, allocations: 0 / 481.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1221, allocations: 155.8 kB / 481.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1221, allocations: 15.97 kB / 481.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1221, allocations: 11.88 kB / 481.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1223, allocations: 84.09 kB / 481.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1223, allocations: 4 kB / 481.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1223, allocations: 0 / 481.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1223, allocations: 0 / 481.7 MB, free: 4.113 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.0004829/0.1228, allocations: 359.5 kB / 482 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1229, allocations: 8.031 kB / 482 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.1229, allocations: 8.938 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.123, allocations: 172.2 kB / 482.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1231, allocations: 4.375 kB / 482.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1231, allocations: 384 / 482.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1232, allocations: 58.23 kB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1233, allocations: 7.938 kB / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1233, allocations: 0 / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1233, allocations: 0 / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1234, allocations: 31.92 kB / 482.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.1236, allocations: 169.7 kB / 482.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1238, allocations: 50.56 kB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1239, allocations: 32.84 kB / 482.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.1241, allocations: 105.3 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1242, allocations: 38.5 kB / 482.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1242, allocations: 0 / 482.7 MB, free: 2.91 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.1359/0.26, allocations: 6.39 MB / 489.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2601, allocations: 59.41 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.2602, allocations: 101.8 kB / 489.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.2603, allocations: 25.7 kB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.2604, allocations: 92.12 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2605, allocations: 59.09 kB / 489.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.2607, allocations: 85.59 kB / 489.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2608, allocations: 322.8 kB / 489.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.2614, allocations: 231.8 kB / 490 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.262, allocations: 227.8 kB / 490.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.2642, allocations: 0.5534 MB / 490.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2642, allocations: 0 / 490.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001945/0.2661, allocations: 0.621 MB / 491.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2662, allocations: 4 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2662, allocations: 4 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2662, allocations: 4 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.2669, allocations: 103.8 kB / 491.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2669, allocations: 0 / 491.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.2674, allocations: 27.95 kB / 491.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.2675, allocations: 27.95 kB / 491.6 MB, free: 9.91 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.0001844/0.2677, allocations: 133.7 kB / 491.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.2678, allocations: 7.906 kB / 491.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.27, allocations: 0.724 MB / 492.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.27, allocations: 7.938 kB / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.27, allocations: 0 / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.27, allocations: 4 kB / 492.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.2743, allocations: 1.161 MB / 493.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2743, allocations: 4 kB / 493.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.2749, allocations: 95.84 kB / 493.7 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.2749, allocations: 4 kB / 493.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.2749, allocations: 28.2 kB / 493.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.275, allocations: 11.94 kB / 493.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.275, allocations: 0 / 493.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2767, allocations: 0.586 MB / 494.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.2768, allocations: 85.02 kB / 494.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.2769, allocations: 8 kB / 494.5 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.2773, allocations: 23.95 kB / 494.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.2773, allocations: 19.98 kB / 494.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.2774, allocations: 27.95 kB / 494.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.2775, allocations: 83.28 kB / 494.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2775, allocations: 0 / 494.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001856/0.2793, allocations: 0.6444 MB / 495.3 MB, free: 6.121 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.003089/0.2824, allocations: 295.2 kB / 495.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2837, allocations: 462.1 kB / 496 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2838, allocations: 0 / 496 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.2843, allocations: 203.6 kB / 496.2 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2847, allocations: 8 kB / 496.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2872, allocations: 0.5745 MB / 496.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2876, allocations: 0.7042 MB / 497.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.288, allocations: 87.28 kB / 497.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.288, allocations: 4 kB / 497.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of Templates: time 0.0261/0.3141, allocations: 15.95 MB / 0.5015 GB, free: 3.785 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