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.001101/0.001101, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001331/0.001331, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001333/0.001333, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00163/0.1232, allocations: 0.5375 MB / 0.4884 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.124, allocations: 413.5 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.124, allocations: 4 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.1241, allocations: 0 / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1241, allocations: 3.938 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.1246, allocations: 143.5 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.1246, allocations: 23.98 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1247, allocations: 4 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.1247, allocations: 19.91 kB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.1248, allocations: 19.92 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1248, allocations: 7.938 kB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.1251, allocations: 159.8 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1251, allocations: 11.92 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1251, allocations: 15.92 kB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1253, allocations: 123.8 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1253, allocations: 3.984 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1253, allocations: 7.938 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1253, allocations: 0 / 0.4893 GB, free: 10.32 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.0004214/0.1258, allocations: 363.4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1258, allocations: 19.97 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1258, allocations: 8.828 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.126, allocations: 164.4 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.126, allocations: 384 / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.126, allocations: 8.375 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1261, allocations: 70.22 kB / 0.4899 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1262, allocations: 7.875 kB / 0.4899 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1262, allocations: 4 kB / 0.4899 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1262, allocations: 4 kB / 0.4899 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.1263, allocations: 43.89 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1265, allocations: 177.5 kB / 0.4902 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1266, allocations: 82.55 kB / 0.4902 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.1267, allocations: 32.84 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.1269, allocations: 97.08 kB / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1269, allocations: 38.56 kB / 0.4904 GB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.127, allocations: 4 kB / 0.4904 GB, free: 9.035 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.1189/0.2459, allocations: 5.618 MB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.246, allocations: 59.41 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.246, allocations: 89.86 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2461, allocations: 33.69 kB / 0.4961 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.2461, allocations: 80.52 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.2462, allocations: 78.86 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.2463, allocations: 57.67 kB / 0.4963 GB, free: 2.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2464, allocations: 318.8 kB / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2467, allocations: 120 kB / 0.4967 GB, free: 2.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.247, allocations: 115.8 kB / 0.4968 GB, free: 2.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.2483, allocations: 316.6 kB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2483, allocations: 0 / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001092/0.2494, allocations: 365.6 kB / 0.4974 GB, free: 1.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2495, allocations: 4 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2495, allocations: 0 / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2495, allocations: 0 / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.2499, allocations: 83.92 kB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2499, allocations: 0 / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2501, allocations: 27.95 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2501, allocations: 19.92 kB / 0.4976 GB, free: 1.582 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.0001142/0.2502, allocations: 125.7 kB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.2503, allocations: 7.906 kB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2516, allocations: 425.8 kB / 0.4981 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2516, allocations: 4 kB / 0.4981 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2516, allocations: 0 / 0.4981 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2516, allocations: 0 / 0.4981 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2537, allocations: 0.7921 MB / 0.4989 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2537, allocations: 7.938 kB / 0.4989 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.254, allocations: 71.94 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.254, allocations: 4 kB / 0.499 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.254, allocations: 11.98 kB / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.254, allocations: 0 / 0.499 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.254, allocations: 3.938 kB / 0.499 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2551, allocations: 428.8 kB / 0.4994 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.2552, allocations: 85.02 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.2552, allocations: 8 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2554, allocations: 31.89 kB / 0.4995 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.2554, allocations: 11.98 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.2554, allocations: 23.98 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.2555, allocations: 75.28 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2555, allocations: 0 / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001553/0.257, allocations: 0.621 MB / 0.5002 GB, free: 14.74 MB / 398.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.002679/0.2597, allocations: 295 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.2605, allocations: 260.3 kB / 0.5008 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2605, allocations: 0 / 0.5008 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2608, allocations: 135.9 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2611, allocations: 11.44 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.262, allocations: 335.3 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2623, allocations: 0.6969 MB / 0.5019 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.2625, allocations: 77.08 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2626, allocations: 51.39 kB / 0.502 GB, free: 12.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2626, allocations: 3.938 kB / 0.502 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Templates: time 0.4911/0.7537, allocations: 53.88 MB / 0.5546 GB, free: 26.7 MB / 414.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches