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.001361/0.001361, allocations: 105.1 kB / 16.41 MB, free: 6.422 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.001429/0.001429, allocations: 192.1 kB / 17.34 MB, free: 5.734 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.513/1.513, allocations: 205.1 MB / 223.2 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.1 MB, free: 460 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.001814/0.001814, allocations: 67.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1169, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002007/0.119, allocations: 0.5025 MB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.1194, allocations: 96.27 kB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.1194, allocations: 0 / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1195, allocations: 0 / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.693e-05/0.1195, allocations: 0 / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1198, allocations: 15.92 kB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1198, allocations: 19.92 kB / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.497e-05/0.1199, allocations: 0 / 0.4885 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.1199, allocations: 7.984 kB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.12, allocations: 11.92 kB / 0.4885 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.12, allocations: 4 kB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.1201, allocations: 31.97 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1202, allocations: 4 kB / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1202, allocations: 0 / 0.4885 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1203, allocations: 23.91 kB / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1203, allocations: 4 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1203, allocations: 0 / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1204, allocations: 0 / 0.4886 GB, free: 11.08 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.0004041/0.1208, allocations: 338.9 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1208, allocations: 11.89 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1208, allocations: 0.9375 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.121, allocations: 164.4 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.121, allocations: 4.359 kB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.121, allocations: 8.312 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1211, allocations: 55.97 kB / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1211, allocations: 192 / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1211, allocations: 11.92 kB / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1212, allocations: 0 / 0.4891 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.1212, allocations: 11.94 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.1215, allocations: 333 kB / 0.4895 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/0.1216, allocations: 34.52 kB / 0.4895 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.1216, allocations: 12.86 kB / 0.4895 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1217, allocations: 0 / 0.4895 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1217, allocations: 34.56 kB / 0.4895 GB, free: 9.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1217, allocations: 0 / 0.4895 GB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000176/0.1219, allocations: 61.62 kB / 0.4896 GB, free: 9.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1219, allocations: 55.41 kB / 0.4897 GB, free: 9.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.122, allocations: 97.84 kB / 0.4898 GB, free: 9.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.122, allocations: 25.7 kB / 0.4898 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1221, allocations: 84.14 kB / 0.4899 GB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.1221, allocations: 11.75 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1221, allocations: 21.7 kB / 0.4899 GB, free: 9.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1222, allocations: 314.8 kB / 0.4902 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.1223, allocations: 4.125 kB / 0.4902 GB, free: 9.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.1223, allocations: 21.72 kB / 0.4902 GB, free: 9.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.1223, allocations: 37.64 kB / 0.4902 GB, free: 9.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1224, allocations: 0 / 0.4902 GB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.585e-05/0.1224, allocations: 53.62 kB / 0.4903 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1225, allocations: 4 kB / 0.4903 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1225, allocations: 0 / 0.4903 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1225, allocations: 7.938 kB / 0.4903 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.1226, allocations: 8.031 kB / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1226, allocations: 0 / 0.4903 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.1226, allocations: 4 kB / 0.4903 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1226, allocations: 4 kB / 0.4903 GB, free: 9.039 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 6.946e-05/0.1227, allocations: 121.7 kB / 0.4904 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1227, allocations: 3.906 kB / 0.4904 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1229, allocations: 69.25 kB / 0.4905 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1229, allocations: 0 / 0.4905 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1229, allocations: 0 / 0.4905 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1229, allocations: 4 kB / 0.4905 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.123, allocations: 161.6 kB / 0.4907 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.123, allocations: 3.938 kB / 0.4907 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.1231, allocations: 4 kB / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1231, allocations: 0 / 0.4907 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1231, allocations: 7.984 kB / 0.4907 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1231, allocations: 3.984 kB / 0.4907 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1231, allocations: 0 / 0.4907 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.1233, allocations: 155.5 kB / 0.4908 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1233, allocations: 77.11 kB / 0.4909 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1233, allocations: 4.234 kB / 0.4909 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.1234, allocations: 3.938 kB / 0.4909 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1234, allocations: 3.938 kB / 0.4909 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1234, allocations: 7.984 kB / 0.4909 GB, free: 8.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.1234, allocations: 75.28 kB / 0.491 GB, free: 8.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1234, allocations: 0 / 0.491 GB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1237, allocations: 15.98 kB / 0.491 GB, free: 8.223 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.0001253/0.1238, allocations: 103.3 kB / 0.4911 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1239, allocations: 16 kB / 0.4911 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.124, allocations: 0 / 0.4911 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.124, allocations: 23.92 kB / 0.4912 GB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1242, allocations: 7.938 kB / 0.4912 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.1245, allocations: 112.8 kB / 0.4913 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1247, allocations: 0.6768 MB / 0.4919 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.046e-05/0.1248, allocations: 8.062 kB / 0.4919 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1248, allocations: 7.438 kB / 0.4919 GB, free: 7.207 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1248, allocations: 0 / 0.4919 GB, free: 7.207 MB / 382.1 MB Notification: Performance of Templates: time 0.002517/0.1273, allocations: 466.9 kB / 0.4924 GB, free: 6.754 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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