Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.00167/0.00167, allocations: 104.3 kB / 20.45 MB, free: 1.406 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.002398/0.002398, allocations: 212.1 kB / 23.74 MB, free: 4.578 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.42/1.42, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2403/0.2403, allocations: 44.27 MB / 331.1 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002351/0.002351, allocations: 69.62 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1134, allocations: 61.06 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001725/0.1151, allocations: 0.491 MB / 0.5178 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1171, allocations: 1.349 MB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.1171, allocations: 0 / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1171, allocations: 0 / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.1172, allocations: 4 kB / 0.5192 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.1179, allocations: 215.9 kB / 0.5194 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.118, allocations: 15.97 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.118, allocations: 0 / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.118, allocations: 7.938 kB / 0.5194 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.1181, allocations: 8 kB / 0.5194 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1181, allocations: 0 / 0.5194 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.1186, allocations: 263.6 kB / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1186, allocations: 0 / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.1186, allocations: 3.984 kB / 0.5197 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1189, allocations: 147.5 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1189, allocations: 0 / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1189, allocations: 0 / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1189, allocations: 0 / 0.5198 GB, free: 4.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004071/0.1193, allocations: 258.3 kB / 0.52 GB, free: 3.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1193, allocations: 16.03 kB / 0.5201 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1194, allocations: 0.9375 kB / 0.5201 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1195, allocations: 106.5 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1195, allocations: 4.312 kB / 0.5202 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1195, allocations: 4.375 kB / 0.5202 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1197, allocations: 63.7 kB / 0.5202 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1197, allocations: 0 / 0.5202 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1197, allocations: 4 kB / 0.5202 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1197, allocations: 4 kB / 0.5202 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.1197, allocations: 11.92 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.1201, allocations: 188.6 kB / 0.5204 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.1201, allocations: 22.52 kB / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.1202, allocations: 8.922 kB / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.1202, allocations: 0 / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.1202, allocations: 30.56 kB / 0.5205 GB, free: 3.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1202, allocations: 0 / 0.5205 GB, free: 3.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.1204, allocations: 41.62 kB / 0.5205 GB, free: 3.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1204, allocations: 51.41 kB / 0.5206 GB, free: 3.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.1205, allocations: 97.86 kB / 0.5207 GB, free: 3.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1205, allocations: 29.95 kB / 0.5207 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.1206, allocations: 88.03 kB / 0.5208 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.1206, allocations: 3.953 kB / 0.5208 GB, free: 3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.1206, allocations: 21.7 kB / 0.5208 GB, free: 2.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1208, allocations: 314.8 kB / 0.5211 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.1208, allocations: 0 / 0.5211 GB, free: 2.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.1208, allocations: 18.58 kB / 0.5211 GB, free: 2.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.1209, allocations: 30.52 kB / 0.5212 GB, free: 2.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1209, allocations: 11.92 kB / 0.5212 GB, free: 2.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.969e-05/0.121, allocations: 49.58 kB / 0.5212 GB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.121, allocations: 4 kB / 0.5212 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.121, allocations: 4 kB / 0.5212 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.121, allocations: 0 / 0.5212 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.1211, allocations: 8.078 kB / 0.5212 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1211, allocations: 0 / 0.5212 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.1211, allocations: 4 kB / 0.5212 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1211, allocations: 3.984 kB / 0.5212 GB, free: 2.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.205e-05/0.1212, allocations: 121.8 kB / 0.5214 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1212, allocations: 0 / 0.5214 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1213, allocations: 48.84 kB / 0.5214 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1213, allocations: 0 / 0.5214 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1213, allocations: 0 / 0.5214 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1213, allocations: 0 / 0.5214 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1215, allocations: 105.2 kB / 0.5215 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1215, allocations: 0 / 0.5215 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1215, allocations: 32 / 0.5215 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1215, allocations: 7.938 kB / 0.5215 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1215, allocations: 4 kB / 0.5215 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1215, allocations: 3.984 kB / 0.5215 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1215, allocations: 0 / 0.5215 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1216, allocations: 135.4 kB / 0.5216 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.1216, allocations: 4 kB / 0.5216 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1216, allocations: 0 / 0.5216 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.1217, allocations: 7.984 kB / 0.5217 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1217, allocations: 0 / 0.5217 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1217, allocations: 0 / 0.5217 GB, free: 2.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.1218, allocations: 87.31 kB / 0.5217 GB, free: 1.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 0 / 0.5217 GB, free: 1.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1221, allocations: 35.94 kB / 0.5218 GB, free: 1.887 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.0002791/0.1223, allocations: 139.1 kB / 0.5219 GB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.491e-05/0.1224, allocations: 15.94 kB / 0.5219 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1224, allocations: 0 / 0.5219 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.1225, allocations: 25.7 kB / 0.5219 GB, free: 1.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.1227, allocations: 8.281 kB / 0.522 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.1229, allocations: 122.5 kB / 0.5221 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.672e-05/0.123, allocations: 55.36 kB / 0.5221 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.123, allocations: 7.438 kB / 0.5221 GB, free: 1.449 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.123, allocations: 0 / 0.5221 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Templates: time 0.002762/0.1258, allocations: 0.9207 MB / 0.523 GB, free: 0.5273 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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: 7.169690925627947]