Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 117.1 kB / 19.64 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 197.9 kB / 22.92 MB, free: 5.879 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.477/1.477, allocations: 207.6 MB / 233.6 MB, free: 10.94 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.2155/0.2155, allocations: 44.24 MB / 330.1 MB, free: 9.773 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.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "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.002403/0.002403, allocations: 79.89 kB / 467.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1121, allocations: 60.99 MB / 0.5163 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001832/0.1139, allocations: 0.5104 MB / 0.5168 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1162, allocations: 1.403 MB / 0.5181 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.1162, allocations: 4 kB / 0.5181 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1162, allocations: 0 / 0.5181 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.1163, allocations: 0 / 0.5181 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.1172, allocations: 223.9 kB / 0.5183 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.1172, allocations: 7.984 kB / 0.5184 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1173, allocations: 4 kB / 0.5184 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.1173, allocations: 8 kB / 0.5184 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.1173, allocations: 4 kB / 0.5184 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1173, allocations: 0 / 0.5184 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1179, allocations: 271.6 kB / 0.5186 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.1179, allocations: 3.938 kB / 0.5186 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.1179, allocations: 8 kB / 0.5186 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1182, allocations: 143.6 kB / 0.5188 GB, free: 4.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1182, allocations: 0 / 0.5188 GB, free: 4.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1182, allocations: 3.938 kB / 0.5188 GB, free: 4.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1182, allocations: 0 / 0.5188 GB, free: 4.527 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004491/0.1186, allocations: 339.4 kB / 0.5191 GB, free: 4.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1187, allocations: 19.84 kB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1187, allocations: 0.9375 kB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1189, allocations: 168.3 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1189, allocations: 384 / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.119, allocations: 4.359 kB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1191, allocations: 34.02 kB / 0.5193 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1191, allocations: 3.938 kB / 0.5193 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1191, allocations: 4 kB / 0.5193 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1191, allocations: 0 / 0.5193 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.1192, allocations: 8 kB / 0.5193 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1194, allocations: 145.7 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.1195, allocations: 22.55 kB / 0.5195 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.1195, allocations: 8.859 kB / 0.5195 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1195, allocations: 0 / 0.5195 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.1196, allocations: 42.56 kB / 0.5195 GB, free: 3.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1196, allocations: 0 / 0.5195 GB, free: 3.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.1197, allocations: 37.62 kB / 0.5196 GB, free: 3.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1198, allocations: 55.41 kB / 0.5196 GB, free: 3.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.1199, allocations: 93.86 kB / 0.5197 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1199, allocations: 25.7 kB / 0.5197 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.1199, allocations: 84.14 kB / 0.5198 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.12, allocations: 4.203 kB / 0.5198 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.12, allocations: 13.72 kB / 0.5198 GB, free: 3.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1201, allocations: 314.8 kB / 0.5201 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.1202, allocations: 4 kB / 0.5201 GB, free: 2.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.1202, allocations: 0 / 0.5201 GB, free: 2.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1202, allocations: 12.86 kB / 0.5202 GB, free: 2.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1202, allocations: 0 / 0.5202 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.586e-05/0.1203, allocations: 41.64 kB / 0.5202 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1203, allocations: 12.03 kB / 0.5202 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1203, allocations: 0 / 0.5202 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1203, allocations: 0 / 0.5202 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.1204, allocations: 7.984 kB / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1204, allocations: 0 / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1204, allocations: 0 / 0.5202 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1204, allocations: 0 / 0.5202 GB, free: 2.828 MB / 398.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 (1): * Single equations (assignments): 1 * 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.0001169/0.1205, allocations: 109.8 kB / 0.5203 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1205, allocations: 3.938 kB / 0.5203 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1207, allocations: 48.81 kB / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1207, allocations: 0 / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1207, allocations: 0 / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1207, allocations: 0 / 0.5204 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1209, allocations: 153.6 kB / 0.5205 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1209, allocations: 3.938 kB / 0.5205 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.121, allocations: 3.938 kB / 0.5205 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.121, allocations: 7.969 kB / 0.5205 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.121, allocations: 0 / 0.5205 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.121, allocations: 4 kB / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.121, allocations: 0 / 0.5205 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.1211, allocations: 57.14 kB / 0.5206 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1211, allocations: 88.98 kB / 0.5207 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1211, allocations: 0 / 0.5207 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.1212, allocations: 4 kB / 0.5207 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.1212, allocations: 4.031 kB / 0.5207 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1212, allocations: 0 / 0.5207 GB, free: 2.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.1213, allocations: 83.28 kB / 0.5208 GB, free: 2.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1213, allocations: 0 / 0.5208 GB, free: 2.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1215, allocations: 43.86 kB / 0.5208 GB, free: 2.121 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003406/0.1219, allocations: 139.1 kB / 0.5209 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.122, allocations: 11.94 kB / 0.521 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.122, allocations: 4.156 kB / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.122, allocations: 33.69 kB / 0.521 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1221, allocations: 0 / 0.521 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.1224, allocations: 84.86 kB / 0.5211 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1228, allocations: 0.6768 MB / 0.5217 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.1228, allocations: 0 / 0.5217 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.1228, allocations: 15.44 kB / 0.5217 GB, free: 1.094 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1229, allocations: 4.062 kB / 0.5217 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Templates: time 0.004265/0.1271, allocations: 1.073 MB / 0.5228 GB, free: 16 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.58081750292331]