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.001422/0.001422, allocations: 79.75 kB / 20.51 MB, free: 1.121 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.001451/0.001451, allocations: 165 kB / 23.76 MB, free: 4.195 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.333/1.333, allocations: 158.6 MB / 185.5 MB, free: 6.23 MB / 174.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.2127/0.2127, allocations: 32.39 MB / 270.1 MB, free: 2.711 MB / 254.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.002495/0.002495, allocations: 71.91 kB / 407.7 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1105, allocations: 61.04 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001776/0.1123, allocations: 0.4988 MB / 469.3 MB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1143, allocations: 1.349 MB / 470.6 MB, free: 6.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1144, allocations: 0 / 470.6 MB, free: 6.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1144, allocations: 3.938 kB / 470.6 MB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.066e-05/0.1144, allocations: 0 / 470.6 MB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.1152, allocations: 220 kB / 470.8 MB, free: 6.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.1152, allocations: 11.94 kB / 470.9 MB, free: 6.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1153, allocations: 0 / 470.9 MB, free: 6.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1153, allocations: 7.984 kB / 470.9 MB, free: 6.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.1153, allocations: 7.922 kB / 470.9 MB, free: 6.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1154, allocations: 0 / 470.9 MB, free: 6.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.1159, allocations: 263.6 kB / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1159, allocations: 0 / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.1159, allocations: 0 / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.1162, allocations: 139.7 kB / 471.3 MB, free: 5.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1162, allocations: 0 / 471.3 MB, free: 5.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1162, allocations: 0 / 471.3 MB, free: 5.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1162, allocations: 0 / 471.3 MB, free: 5.82 MB / 446.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.0003827/0.1166, allocations: 262.2 kB / 471.5 MB, free: 5.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1166, allocations: 8.031 kB / 471.5 MB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1167, allocations: 12.86 kB / 471.5 MB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.1168, allocations: 102.5 kB / 471.6 MB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.1168, allocations: 8.375 kB / 471.6 MB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1168, allocations: 384 / 471.6 MB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1169, allocations: 71.7 kB / 471.7 MB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1169, allocations: 0 / 471.7 MB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1169, allocations: 4 kB / 471.7 MB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1169, allocations: 0 / 471.7 MB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.117, allocations: 4 kB / 471.7 MB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.1173, allocations: 184.6 kB / 471.9 MB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.1174, allocations: 26.45 kB / 471.9 MB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.1174, allocations: 8.906 kB / 471.9 MB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.1174, allocations: 7.984 kB / 471.9 MB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1174, allocations: 34.62 kB / 472 MB, free: 4.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1174, allocations: 0 / 472 MB, free: 4.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.1176, allocations: 33.64 kB / 472 MB, free: 4.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1176, allocations: 55.41 kB / 472.1 MB, free: 4.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.1177, allocations: 105.7 kB / 472.2 MB, free: 4.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1177, allocations: 29.69 kB / 472.2 MB, free: 4.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1178, allocations: 88.09 kB / 472.3 MB, free: 4.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.1178, allocations: 0 / 472.3 MB, free: 4.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1178, allocations: 17.97 kB / 472.3 MB, free: 4.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.118, allocations: 314.8 kB / 472.6 MB, free: 4.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.118, allocations: 4 kB / 472.6 MB, free: 4.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.118, allocations: 22.56 kB / 472.6 MB, free: 4.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.1181, allocations: 26.52 kB / 472.7 MB, free: 4.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1181, allocations: 3.938 kB / 472.7 MB, free: 4.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.534e-05/0.1181, allocations: 53.62 kB / 472.7 MB, free: 4.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1182, allocations: 8.094 kB / 472.7 MB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1182, allocations: 0 / 472.7 MB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1182, allocations: 0 / 472.7 MB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.1182, allocations: 8 kB / 472.7 MB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1182, allocations: 0 / 472.7 MB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.1183, allocations: 7.891 kB / 472.7 MB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1183, allocations: 4 kB / 472.7 MB, free: 4.141 MB / 446.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 8.403e-05/0.1183, allocations: 109.8 kB / 472.9 MB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1184, allocations: 4 kB / 472.9 MB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.1185, allocations: 56.86 kB / 472.9 MB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1185, allocations: 0 / 472.9 MB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1185, allocations: 0 / 472.9 MB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1185, allocations: 0 / 472.9 MB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1186, allocations: 105.2 kB / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1186, allocations: 0 / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1186, allocations: 0 / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1186, allocations: 0 / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.1186, allocations: 0 / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1187, allocations: 0 / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1187, allocations: 8.031 kB / 473 MB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1188, allocations: 143.4 kB / 473.2 MB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.1188, allocations: 4 kB / 473.2 MB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.1188, allocations: 0 / 473.2 MB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.1188, allocations: 0 / 473.2 MB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.1189, allocations: 4 kB / 473.2 MB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1189, allocations: 0 / 473.2 MB, free: 3.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.1189, allocations: 79.28 kB / 473.2 MB, free: 3.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1189, allocations: 0 / 473.2 MB, free: 3.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.1192, allocations: 43.92 kB / 473.3 MB, free: 3.531 MB / 446.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.0002565/0.1195, allocations: 135.3 kB / 473.4 MB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.1196, allocations: 15.98 kB / 473.4 MB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1196, allocations: 7.875 kB / 473.4 MB, free: 3.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.1196, allocations: 29.7 kB / 473.5 MB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1198, allocations: 7.938 kB / 473.5 MB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.1201, allocations: 84.86 kB / 473.6 MB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.1201, allocations: 59.34 kB / 473.6 MB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.1201, allocations: 4.25 kB / 473.6 MB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.1201, allocations: 12.5 kB / 473.6 MB, free: 3.121 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1201, allocations: 3.938 kB / 473.6 MB, free: 3.117 MB / 446.1 MB Notification: Performance of Templates: time 0.003896/0.124, allocations: 1.086 MB / 474.7 MB, free: 2.035 MB / 446.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 -s ida -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: 4.76746094902046]