Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008113/0.0008115, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008067/0.0008067, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 7.938 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006923/0.1112, allocations: 262.6 kB / 472.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.1121, allocations: 428.6 kB / 472.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.1122, allocations: 0 / 472.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.1122, allocations: 0 / 472.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.539e-05/0.1122, allocations: 0 / 472.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1127, allocations: 107.8 kB / 473 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.1128, allocations: 27.97 kB / 473.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1128, allocations: 4 kB / 473.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.1128, allocations: 15.94 kB / 473.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.1129, allocations: 23.91 kB / 473.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1129, allocations: 0 / 473.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.1132, allocations: 163.7 kB / 473.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1133, allocations: 11.94 kB / 473.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1133, allocations: 37.64 kB / 473.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1135, allocations: 127.7 kB / 473.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1136, allocations: 4 kB / 473.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1136, allocations: 4 kB / 473.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1136, allocations: 0 / 473.4 MB, free: 12.12 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.0003861/0.114, allocations: 347.8 kB / 473.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.114, allocations: 12.03 kB / 473.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.114, allocations: 8.844 kB / 473.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1142, allocations: 168.3 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1142, allocations: 4.359 kB / 474 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1142, allocations: 8.375 kB / 474 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1144, allocations: 66.22 kB / 474 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1144, allocations: 11.84 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1144, allocations: 0 / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1144, allocations: 4 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1145, allocations: 47.89 kB / 474.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1147, allocations: 173.6 kB / 474.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1149, allocations: 86.53 kB / 474.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.115, allocations: 32.84 kB / 474.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.1153, allocations: 113.1 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1153, allocations: 34.88 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1153, allocations: 3.938 kB / 474.5 MB, free: 10.85 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.1416/0.257, allocations: 5.845 MB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.2571, allocations: 59.34 kB / 480.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.2572, allocations: 93.86 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2572, allocations: 29.64 kB / 480.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2572, allocations: 80.52 kB / 480.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.2573, allocations: 82.97 kB / 480.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.2574, allocations: 21.72 kB / 480.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2575, allocations: 322.8 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.2579, allocations: 135.9 kB / 481.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.2583, allocations: 139.9 kB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2599, allocations: 370.8 kB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2599, allocations: 0 / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001306/0.2612, allocations: 404.8 kB / 482.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2612, allocations: 7.938 kB / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2612, allocations: 0 / 482.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2613, allocations: 4 kB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2617, allocations: 91.92 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2617, allocations: 3.938 kB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.2619, allocations: 39.95 kB / 482.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.262, allocations: 23.92 kB / 482.3 MB, free: 3.043 MB / 350.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.0001204/0.2621, allocations: 117.8 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.2621, allocations: 11.91 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.2636, allocations: 477.8 kB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2636, allocations: 0 / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2636, allocations: 0 / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2637, allocations: 0 / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.266, allocations: 0.8743 MB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.266, allocations: 0 / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.2664, allocations: 88 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.2664, allocations: 4 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2664, allocations: 11.98 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2664, allocations: 0 / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2664, allocations: 0 / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2677, allocations: 480.6 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2677, allocations: 85.02 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2678, allocations: 4 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.268, allocations: 43.95 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.268, allocations: 11.98 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2681, allocations: 15.98 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.2681, allocations: 79.28 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2681, allocations: 0 / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001833/0.2699, allocations: 0.6288 MB / 485.2 MB, free: 16 kB / 350.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.003457/0.2734, allocations: 307.5 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009338/0.2744, allocations: 309.6 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2744, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.2748, allocations: 161.4 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.275, allocations: 12 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2761, allocations: 413 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2764, allocations: 0.6973 MB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.2767, allocations: 77.08 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2768, allocations: 51.39 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2768, allocations: 0 / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.4452/0.7221, allocations: 53.84 MB / 0.5283 GB, free: 33.95 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches