Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 73.31 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 62.45 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00195/0.1196, allocations: 0.5902 MB / 479.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.1205, allocations: 430.9 kB / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1205, allocations: 0 / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1205, allocations: 0 / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.612e-05/0.1205, allocations: 7.938 kB / 480.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1209, allocations: 111.8 kB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.64e-05/0.121, allocations: 23.92 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.121, allocations: 4 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.1211, allocations: 15.92 kB / 480.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1212, allocations: 19.92 kB / 480.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1212, allocations: 4 kB / 480.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.1214, allocations: 155.8 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1214, allocations: 7.984 kB / 480.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.1215, allocations: 23.86 kB / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1217, allocations: 131.7 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1217, allocations: 0 / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1217, allocations: 0 / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1217, allocations: 0 / 480.8 MB, free: 4.223 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003917/0.1221, allocations: 363.8 kB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1221, allocations: 8.875 kB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1222, allocations: 12.83 kB / 481.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1223, allocations: 160.4 kB / 481.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1223, allocations: 8.375 kB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1224, allocations: 12.36 kB / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1225, allocations: 70.17 kB / 481.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1225, allocations: 7.844 kB / 481.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1225, allocations: 3.938 kB / 481.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1226, allocations: 4 kB / 481.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1226, allocations: 47.89 kB / 481.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1228, allocations: 173.6 kB / 481.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.123, allocations: 82.55 kB / 481.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.1231, allocations: 28.86 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.1233, allocations: 109.4 kB / 481.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1233, allocations: 34.5 kB / 481.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1234, allocations: 0 / 481.9 MB, free: 2.941 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1305/0.2539, allocations: 5.624 MB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.254, allocations: 55.41 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.254, allocations: 93.86 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.2541, allocations: 29.64 kB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.2541, allocations: 92.64 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.2542, allocations: 74.84 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.2543, allocations: 57.67 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2544, allocations: 322.8 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.2548, allocations: 107.9 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.2551, allocations: 115.9 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2565, allocations: 327.7 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2565, allocations: 4 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001172/0.2577, allocations: 357.1 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2577, allocations: 4 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2578, allocations: 4 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2578, allocations: 0 / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.2582, allocations: 79.91 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2582, allocations: 3.938 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2584, allocations: 31.97 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.2585, allocations: 15.92 kB / 489.3 MB, free: 11.49 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 (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.0001122/0.2586, allocations: 117.8 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.2586, allocations: 11.89 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2601, allocations: 425.9 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2601, allocations: 0 / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2601, allocations: 0 / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.2601, allocations: 3.984 kB / 489.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2624, allocations: 0.7843 MB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2624, allocations: 0 / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.2627, allocations: 79.86 kB / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2627, allocations: 0 / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.2627, allocations: 15.98 kB / 490.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2627, allocations: 0 / 490.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2628, allocations: 4 kB / 490.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2639, allocations: 429.9 kB / 491.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.264, allocations: 89 kB / 491.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.264, allocations: 4 kB / 491.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2643, allocations: 23.97 kB / 491.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.2643, allocations: 19.92 kB / 491.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.2643, allocations: 15.98 kB / 491.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.2644, allocations: 83.22 kB / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2644, allocations: 0 / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001796/0.2662, allocations: 0.6366 MB / 492 MB, free: 8.648 MB / 366.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.003603/0.2698, allocations: 279 kB / 492.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008036/0.2706, allocations: 257 kB / 492.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2706, allocations: 4 kB / 492.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.271, allocations: 131.9 kB / 492.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2713, allocations: 15.98 kB / 492.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2723, allocations: 365 kB / 493 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2726, allocations: 0.6973 MB / 493.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.2729, allocations: 81.02 kB / 493.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.273, allocations: 43.41 kB / 493.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2731, allocations: 0 / 493.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Templates: time 0.2594/0.5325, allocations: 53.76 MB / 0.5347 GB, free: 21.68 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches