Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 110.8 kB / 17.08 MB, free: 6.016 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.0009848/0.0009849, allocations: 189.4 kB / 18.01 MB, free: 5.098 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.233/1.233, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1838/0.1838, allocations: 43.52 MB / 314.8 MB, free: 468 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.001284/0.001285, allocations: 63.91 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08976, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001413/0.09121, allocations: 0.5096 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.09147, allocations: 92.27 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.09151, allocations: 0 / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.09152, allocations: 0 / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.64e-05/0.09155, allocations: 4 kB / 0.4891 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.09172, allocations: 19.92 kB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.09177, allocations: 11.92 kB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.09182, allocations: 4 kB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.09185, allocations: 4 kB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.0919, allocations: 11.92 kB / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.09192, allocations: 0 / 0.4892 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.092, allocations: 35.97 kB / 0.4892 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.09201, allocations: 3.984 kB / 0.4892 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.09204, allocations: 4 kB / 0.4892 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.941e-05/0.09212, allocations: 27.91 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09213, allocations: 4 kB / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09214, allocations: 0 / 0.4892 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.09215, allocations: 0 / 0.4892 GB, free: 11.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003375/0.09249, allocations: 331.4 kB / 0.4895 GB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.09252, allocations: 15.89 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.09256, allocations: 0.9375 kB / 0.4896 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.09266, allocations: 164.4 kB / 0.4897 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.09268, allocations: 4.312 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.0927, allocations: 8.375 kB / 0.4897 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.09281, allocations: 51.97 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.09282, allocations: 192 / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.09284, allocations: 3.938 kB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09285, allocations: 0 / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.0929, allocations: 15.94 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.09319, allocations: 333 kB / 0.4901 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.09325, allocations: 34.5 kB / 0.4901 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.09329, allocations: 12.86 kB / 0.4902 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.09331, allocations: 0 / 0.4902 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.09334, allocations: 38.64 kB / 0.4902 GB, free: 9.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.09334, allocations: 0 / 0.4902 GB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001601/0.09351, allocations: 57.53 kB / 0.4903 GB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.09356, allocations: 55.41 kB / 0.4903 GB, free: 9.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.09362, allocations: 97.86 kB / 0.4904 GB, free: 9.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.09363, allocations: 25.7 kB / 0.4904 GB, free: 9.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.09368, allocations: 80.14 kB / 0.4905 GB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.0937, allocations: 23.72 kB / 0.4905 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.09373, allocations: 17.72 kB / 0.4905 GB, free: 9.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.09383, allocations: 314.8 kB / 0.4908 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.09385, allocations: 8.125 kB / 0.4908 GB, free: 9.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.09388, allocations: 21.7 kB / 0.4909 GB, free: 9.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.09393, allocations: 29.78 kB / 0.4909 GB, free: 9.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.09394, allocations: 4 kB / 0.4909 GB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.098e-05/0.09404, allocations: 57.62 kB / 0.491 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.09406, allocations: 8 kB / 0.491 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.09407, allocations: 3.938 kB / 0.491 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.09408, allocations: 4.031 kB / 0.491 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.09415, allocations: 11.98 kB / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09416, allocations: 0 / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.09418, allocations: 0 / 0.491 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.09419, allocations: 4 kB / 0.491 GB, free: 9.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.806e-05/0.09426, allocations: 113.7 kB / 0.4911 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.09429, allocations: 7.906 kB / 0.4911 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.09441, allocations: 61.12 kB / 0.4912 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.09442, allocations: 0 / 0.4912 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.09443, allocations: 8 kB / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.09444, allocations: 0 / 0.4912 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.0946, allocations: 157.6 kB / 0.4913 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09461, allocations: 3.938 kB / 0.4913 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.09465, allocations: 11.98 kB / 0.4913 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.09466, allocations: 0 / 0.4913 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.09467, allocations: 4 kB / 0.4913 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09468, allocations: 0 / 0.4913 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.09468, allocations: 0 / 0.4913 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.0948, allocations: 155.5 kB / 0.4915 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.09484, allocations: 77.11 kB / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.09486, allocations: 0 / 0.4916 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.09491, allocations: 4.062 kB / 0.4916 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.09494, allocations: 19.92 kB / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.09495, allocations: 0 / 0.4916 GB, free: 8.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.965e-05/0.09498, allocations: 79.28 kB / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09499, allocations: 0 / 0.4917 GB, free: 8.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.0952, allocations: 8 kB / 0.4917 GB, free: 8.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000109/0.09531, allocations: 99.34 kB / 0.4918 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.108e-05/0.09541, allocations: 27.98 kB / 0.4918 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.09542, allocations: 0 / 0.4918 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.09545, allocations: 15.94 kB / 0.4918 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.09565, allocations: 11.7 kB / 0.4918 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.09587, allocations: 138.5 kB / 0.4919 GB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.09611, allocations: 0.6846 MB / 0.4926 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.09614, allocations: 7.438 kB / 0.4926 GB, free: 7.199 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09614, allocations: 0 / 0.4926 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Templates: time 0.001747/0.09789, allocations: 0.5816 MB / 0.4932 GB, free: 6.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches