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.0008172/0.0008171, allocations: 97.02 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009744/0.0009746, allocations: 201.7 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002782, allocations: 7.984 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0005842/0.1047, allocations: 265.4 kB / 484 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.1055, allocations: 419 kB / 484.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.1055, allocations: 0 / 484.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1055, allocations: 3.938 kB / 484.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.507e-05/0.1056, allocations: 0 / 484.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.106, allocations: 107.8 kB / 484.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.106, allocations: 19.98 kB / 484.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1061, allocations: 4 kB / 484.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.1061, allocations: 19.86 kB / 484.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.1062, allocations: 15.92 kB / 484.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1062, allocations: 7.938 kB / 484.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.1065, allocations: 159.8 kB / 484.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1065, allocations: 4 kB / 484.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1065, allocations: 49.55 kB / 484.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1067, allocations: 71.91 kB / 484.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1067, allocations: 7.984 kB / 484.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1067, allocations: 0 / 484.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1067, allocations: 0 / 484.9 MB, free: 2.984 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.0003825/0.1071, allocations: 355.7 kB / 485.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1071, allocations: 8.031 kB / 485.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1072, allocations: 4.938 kB / 485.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1073, allocations: 180.1 kB / 485.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1073, allocations: 4.375 kB / 485.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1073, allocations: 8.375 kB / 485.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1075, allocations: 54.25 kB / 485.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1075, allocations: 3.938 kB / 485.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1075, allocations: 0 / 485.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1075, allocations: 0 / 485.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.1076, allocations: 31.91 kB / 485.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1078, allocations: 169.7 kB / 485.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.108, allocations: 50.55 kB / 485.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.108, allocations: 28.86 kB / 485.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.1083, allocations: 117.1 kB / 485.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1083, allocations: 38.78 kB / 485.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1083, allocations: 4 kB / 485.9 MB, free: 1.77 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.1473/0.2557, allocations: 6.625 MB / 492.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2557, allocations: 51.41 kB / 492.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2558, allocations: 105.8 kB / 492.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.2559, allocations: 29.7 kB / 492.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.2559, allocations: 80.14 kB / 492.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.256, allocations: 59.11 kB / 492.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.2561, allocations: 21.7 kB / 492.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2562, allocations: 326.8 kB / 493.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.2568, allocations: 243.8 kB / 493.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.2574, allocations: 246.1 kB / 493.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.2595, allocations: 0.5888 MB / 494.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2595, allocations: 0 / 494.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001845/0.2613, allocations: 0.6494 MB / 494.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2614, allocations: 4 kB / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2614, allocations: 0 / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2614, allocations: 0 / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.2621, allocations: 111.8 kB / 495 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2621, allocations: 0 / 495 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.2626, allocations: 39.95 kB / 495.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.2626, allocations: 32.19 kB / 495.1 MB, free: 8.492 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.0001676/0.2628, allocations: 129.7 kB / 495.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2629, allocations: 7.906 kB / 495.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.265, allocations: 0.7592 MB / 496 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2651, allocations: 4 kB / 496 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2651, allocations: 0 / 496 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2651, allocations: 3.938 kB / 496 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/0.2692, allocations: 1.227 MB / 497.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2693, allocations: 0 / 497.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.2698, allocations: 108 kB / 497.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.2699, allocations: 4 kB / 497.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.2699, allocations: 27.95 kB / 497.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.2699, allocations: 7.938 kB / 497.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2699, allocations: 0 / 497.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.2717, allocations: 0.6157 MB / 498 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.2717, allocations: 89 kB / 498.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.2718, allocations: 4 kB / 498.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.2722, allocations: 31.97 kB / 498.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.2723, allocations: 28.38 kB / 498.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.2723, allocations: 27.95 kB / 498.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.028e-05/0.2724, allocations: 79.28 kB / 498.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2724, allocations: 0 / 498.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001827/0.2742, allocations: 0.6483 MB / 498.9 MB, free: 4.559 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.003464/0.2777, allocations: 310.8 kB / 499.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.279, allocations: 479.6 kB / 499.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2791, allocations: 4 kB / 499.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.2796, allocations: 216.1 kB / 499.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.28, allocations: 19.73 kB / 499.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2825, allocations: 0.6109 MB / 0.4888 GB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2827, allocations: 0.7007 MB / 0.4894 GB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.2831, allocations: 91.23 kB / 0.4895 GB, free: 2.059 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2831, allocations: 0 / 0.4895 GB, free: 2.059 MB / 366.1 MB Notification: Performance of Templates: time 0.02404/0.3071, allocations: 15.99 MB / 0.5052 GB, free: 2.086 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