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.00111/0.00111, allocations: 120.8 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.001088/0.001088, allocations: 198.5 kB / 18.02 MB, free: 5.047 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.324/1.324, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2117/0.2117, allocations: 43.52 MB / 314.8 MB, free: 452 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.002553/0.002553, allocations: 67.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1236, 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.001499/0.1251, allocations: 0.533 MB / 0.4891 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006929/0.1258, allocations: 411.2 kB / 0.4894 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1259, allocations: 0 / 0.4894 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.1259, allocations: 7.938 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.608e-05/0.1259, allocations: 0 / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.1264, allocations: 147.5 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.1265, allocations: 27.92 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1265, allocations: 4 kB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.1266, allocations: 11.94 kB / 0.4896 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.1266, allocations: 19.91 kB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1266, allocations: 4 kB / 0.4897 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1269, allocations: 167.8 kB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1269, allocations: 7.938 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.1269, allocations: 15.92 kB / 0.4898 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1271, allocations: 127.7 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1271, allocations: 0 / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1271, allocations: 3.938 kB / 0.49 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1271, allocations: 0 / 0.49 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.0003669/0.1275, allocations: 370.8 kB / 0.4903 GB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1276, allocations: 8.031 kB / 0.4903 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1276, allocations: 8.844 kB / 0.4903 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1277, allocations: 172.4 kB / 0.4905 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1277, allocations: 4.375 kB / 0.4905 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1278, allocations: 8.375 kB / 0.4905 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1279, allocations: 66.22 kB / 0.4906 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1279, allocations: 7.938 kB / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1279, allocations: 7.938 kB / 0.4906 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1279, allocations: 0 / 0.4906 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.128, allocations: 47.89 kB / 0.4906 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1282, allocations: 177.5 kB / 0.4908 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1283, allocations: 86.55 kB / 0.4909 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1284, allocations: 32.84 kB / 0.4909 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.1286, allocations: 97.08 kB / 0.491 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1286, allocations: 42.5 kB / 0.4911 GB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1287, allocations: 0 / 0.4911 GB, free: 9.027 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.1351/0.2638, allocations: 5.623 MB / 0.4965 GB, free: 3.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2638, allocations: 51.41 kB / 0.4966 GB, free: 3.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.2639, allocations: 97.86 kB / 0.4967 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.264, allocations: 29.7 kB / 0.4967 GB, free: 3.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.264, allocations: 80.52 kB / 0.4968 GB, free: 3.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.2641, allocations: 78.84 kB / 0.4969 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.2642, allocations: 61.67 kB / 0.4969 GB, free: 2.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2643, allocations: 318.8 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.2646, allocations: 120 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.265, allocations: 115.8 kB / 0.4975 GB, free: 2.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.2664, allocations: 316.6 kB / 0.4978 GB, free: 2.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2664, allocations: 0 / 0.4978 GB, free: 2.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001167/0.2676, allocations: 357.6 kB / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2676, allocations: 8 kB / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2676, allocations: 0 / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2676, allocations: 0 / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.268, allocations: 87.91 kB / 0.4982 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.268, allocations: 0 / 0.4982 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.2682, allocations: 19.97 kB / 0.4982 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2683, allocations: 27.91 kB / 0.4982 GB, free: 1.57 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.0001097/0.2684, allocations: 129.7 kB / 0.4984 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.2684, allocations: 7.906 kB / 0.4984 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2698, allocations: 425.8 kB / 0.4988 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2698, allocations: 8 kB / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2698, allocations: 0 / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2698, allocations: 0 / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.272, allocations: 0.7844 MB / 0.4995 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.272, allocations: 3.938 kB / 0.4996 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.2723, allocations: 75.92 kB / 0.4996 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.2723, allocations: 4 kB / 0.4996 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2723, allocations: 11.98 kB / 0.4996 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2724, allocations: 3.938 kB / 0.4996 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2724, allocations: 0 / 0.4996 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2735, allocations: 428.8 kB / 0.5001 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2736, allocations: 85.02 kB / 0.5001 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2736, allocations: 8 kB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.2738, allocations: 23.97 kB / 0.5002 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.2738, allocations: 11.98 kB / 0.5002 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2739, allocations: 15.98 kB / 0.5002 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.2739, allocations: 91.16 kB / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 0.5003 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001707/0.2756, allocations: 0.621 MB / 0.5009 GB, free: 14.73 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.003304/0.279, allocations: 287 kB / 0.5012 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.2798, allocations: 264.3 kB / 0.5014 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2798, allocations: 0 / 0.5014 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.2801, allocations: 139.9 kB / 0.5015 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2805, allocations: 8 kB / 0.5016 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.2815, allocations: 357 kB / 0.5019 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2817, allocations: 0.7008 MB / 0.5026 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2819, allocations: 51.39 kB / 0.5026 GB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.2819, allocations: 0 / 0.5026 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Templates: time 0.01994/0.3018, allocations: 14.16 MB / 0.5165 GB, free: 14.69 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