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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 216.9 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.28 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 68.28 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1096, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001812/0.1114, allocations: 0.5141 MB / 0.5171 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.1117, allocations: 99.73 kB / 0.5172 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.1117, allocations: 0 / 0.5172 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1118, allocations: 0 / 0.5172 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.793e-05/0.1118, allocations: 0 / 0.5172 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.112, allocations: 19.91 kB / 0.5172 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.112, allocations: 11.98 kB / 0.5173 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1121, allocations: 0 / 0.5173 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.1121, allocations: 15.92 kB / 0.5173 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.1121, allocations: 0 / 0.5173 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1122, allocations: 8 kB / 0.5173 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.1123, allocations: 27.97 kB / 0.5173 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.1123, allocations: 11.98 kB / 0.5173 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.1123, allocations: 3.938 kB / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.1124, allocations: 27.89 kB / 0.5173 GB, free: 5.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1124, allocations: 0 / 0.5173 GB, free: 5.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1124, allocations: 0 / 0.5173 GB, free: 5.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1124, allocations: 0 / 0.5173 GB, free: 5.949 MB / 398.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.0003699/0.1128, allocations: 262.2 kB / 0.5176 GB, free: 5.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1128, allocations: 8.031 kB / 0.5176 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1128, allocations: 8.938 kB / 0.5176 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1129, allocations: 102.5 kB / 0.5177 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1129, allocations: 4.375 kB / 0.5177 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.113, allocations: 4.312 kB / 0.5177 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1131, allocations: 55.97 kB / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1131, allocations: 192 / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1131, allocations: 3.938 kB / 0.5178 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1131, allocations: 0 / 0.5178 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.1132, allocations: 11.98 kB / 0.5178 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.1135, allocations: 272.8 kB / 0.518 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.1135, allocations: 22.58 kB / 0.5181 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.1136, allocations: 16.86 kB / 0.5181 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1136, allocations: 3.938 kB / 0.5181 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1136, allocations: 30.56 kB / 0.5181 GB, free: 5.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1136, allocations: 0 / 0.5181 GB, free: 5.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001841/0.1138, allocations: 61.67 kB / 0.5182 GB, free: 4.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1138, allocations: 55.41 kB / 0.5182 GB, free: 4.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.1139, allocations: 97.84 kB / 0.5183 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1139, allocations: 33.64 kB / 0.5184 GB, free: 4.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.114, allocations: 80.14 kB / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.114, allocations: 15.97 kB / 0.5184 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.114, allocations: 17.72 kB / 0.5185 GB, free: 4.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1142, allocations: 318.8 kB / 0.5188 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.1142, allocations: 8 kB / 0.5188 GB, free: 4.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.1143, allocations: 17.72 kB / 0.5188 GB, free: 4.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.1143, allocations: 33.64 kB / 0.5188 GB, free: 4.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1143, allocations: 0 / 0.5188 GB, free: 4.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.1144, allocations: 57.62 kB / 0.5189 GB, free: 4.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1144, allocations: 4 kB / 0.5189 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1144, allocations: 8.031 kB / 0.5189 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1145, allocations: 3.938 kB / 0.5189 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.1145, allocations: 11.94 kB / 0.5189 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1145, allocations: 0 / 0.5189 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.1146, allocations: 4.188 kB / 0.5189 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1146, allocations: 0 / 0.5189 GB, free: 4.152 MB / 398.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 9.044e-05/0.1147, allocations: 113.8 kB / 0.519 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1147, allocations: 3.938 kB / 0.519 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1148, allocations: 73.42 kB / 0.5191 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1148, allocations: 0 / 0.5191 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1148, allocations: 4 kB / 0.5191 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1148, allocations: 4 kB / 0.5191 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.115, allocations: 105.3 kB / 0.5192 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.115, allocations: 0 / 0.5192 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.115, allocations: 8 kB / 0.5192 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.115, allocations: 3.938 kB / 0.5192 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.115, allocations: 0 / 0.5192 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.115, allocations: 0 / 0.5192 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.115, allocations: 0 / 0.5192 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1152, allocations: 155.5 kB / 0.5194 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.1152, allocations: 3.938 kB / 0.5194 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1152, allocations: 4 kB / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.1153, allocations: 0 / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1153, allocations: 11.92 kB / 0.5194 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1153, allocations: 0 / 0.5194 GB, free: 3.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.1153, allocations: 83.28 kB / 0.5195 GB, free: 3.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1153, allocations: 0 / 0.5195 GB, free: 3.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1156, allocations: 4 kB / 0.5195 GB, free: 3.52 MB / 398.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.000118/0.1157, allocations: 103.2 kB / 0.5196 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1158, allocations: 23.98 kB / 0.5196 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1158, allocations: 4.156 kB / 0.5196 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.1158, allocations: 19.88 kB / 0.5196 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.116, allocations: 0 / 0.5196 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1163, allocations: 112.8 kB / 0.5197 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.676e-05/0.1163, allocations: 63.28 kB / 0.5198 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.1164, allocations: 4 kB / 0.5198 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.1164, allocations: 15.44 kB / 0.5198 GB, free: 3.121 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1164, allocations: 0 / 0.5198 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Templates: time 0.002762/0.1191, allocations: 454.9 kB / 0.5202 GB, free: 2.684 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.642994286492467]