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.001132/0.001132, allocations: 108.2 kB / 17.09 MB, free: 5.965 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.001226/0.001226, allocations: 194.9 kB / 18.02 MB, free: 5.051 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.339/1.339, allocations: 205.1 MB / 223.9 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.1982/0.1982, allocations: 43.53 MB / 314.8 MB, free: 444 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.001481/0.001481, allocations: 67.91 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001987/0.1062, allocations: 0.53 MB / 0.4891 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.1072, allocations: 411.3 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.1073, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.1073, allocations: 3.938 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.1074, allocations: 7.938 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.1081, allocations: 147.5 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.1082, allocations: 27.97 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.1082, allocations: 4 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.1083, allocations: 15.92 kB / 0.4897 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.1083, allocations: 19.92 kB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1084, allocations: 0 / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.1087, allocations: 163.8 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.1087, allocations: 15.92 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1088, allocations: 15.92 kB / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1091, allocations: 127.8 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1091, allocations: 7.875 kB / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1091, allocations: 0 / 0.49 GB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1091, allocations: 0 / 0.49 GB, free: 10.31 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.0004999/0.1096, allocations: 367.4 kB / 0.4903 GB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1097, allocations: 8.031 kB / 0.4903 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.1097, allocations: 8.844 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1099, allocations: 168.3 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1099, allocations: 4.375 kB / 0.4905 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1099, allocations: 12.36 kB / 0.4905 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1101, allocations: 58.23 kB / 0.4906 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1101, allocations: 7.938 kB / 0.4906 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1102, allocations: 7.984 kB / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1102, allocations: 0 / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1103, allocations: 43.95 kB / 0.4906 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.1105, allocations: 177.5 kB / 0.4908 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1106, allocations: 90.48 kB / 0.4909 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.1107, allocations: 28.86 kB / 0.4909 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.111, allocations: 101.1 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.111, allocations: 30.56 kB / 0.4911 GB, free: 9.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.111, allocations: 4 kB / 0.4911 GB, free: 9.039 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.1381/0.2491, allocations: 5.625 MB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2492, allocations: 51.41 kB / 0.4966 GB, free: 3.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.2493, allocations: 97.86 kB / 0.4967 GB, free: 3.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2493, allocations: 29.7 kB / 0.4967 GB, free: 3.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.2494, allocations: 80.52 kB / 0.4968 GB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.2495, allocations: 78.84 kB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2496, allocations: 57.67 kB / 0.4969 GB, free: 2.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2497, allocations: 318.8 kB / 0.4972 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.2501, allocations: 120 kB / 0.4973 GB, free: 2.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.2505, allocations: 115.7 kB / 0.4975 GB, free: 2.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.252, allocations: 320.6 kB / 0.4978 GB, free: 2.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.252, allocations: 0 / 0.4978 GB, free: 2.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00125/0.2533, allocations: 357.6 kB / 0.4981 GB, free: 1.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2533, allocations: 11.44 kB / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2533, allocations: 0 / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2534, allocations: 0 / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2538, allocations: 91.84 kB / 0.4982 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2538, allocations: 0 / 0.4982 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.254, allocations: 19.97 kB / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.2541, allocations: 19.98 kB / 0.4982 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.000127/0.2542, allocations: 133.7 kB / 0.4984 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2542, allocations: 11.89 kB / 0.4984 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2557, allocations: 417.9 kB / 0.4988 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2557, allocations: 3.984 kB / 0.4988 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2557, allocations: 4 kB / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.2558, allocations: 88.95 kB / 0.4989 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.2558, allocations: 15.88 kB / 0.4989 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.256, allocations: 27.97 kB / 0.4989 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.2561, allocations: 7.984 kB / 0.4989 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001444/0.2575, allocations: 484.4 kB / 0.4994 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0013/0.2588, allocations: 0.5261 MB / 0.4999 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003679/0.2592, allocations: 147.8 kB / 0.5 GB, free: 15.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.2593, allocations: 75.28 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of Backend: time 4.8e-07/0.2593, allocations: 0 / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.2637, allocations: 422.1 kB / 0.5005 GB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005052/0.2642, allocations: 0.6189 MB / 0.5011 GB, free: 14.51 MB / 398.1 MB Notification: Performance of Templates: time 0.4832/0.7474, allocations: 54.26 MB / 0.5541 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/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