Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001761/0.001761, allocations: 110.2 kB / 19.69 MB, free: 2.188 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.002213/0.002213, allocations: 188.1 kB / 22.98 MB, free: 5.016 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.532/1.532, allocations: 207.6 MB / 233.7 MB, free: 10.02 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.2185/0.2185, allocations: 44.24 MB / 330.2 MB, free: 9.555 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [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.002479/0.002479, allocations: 67.89 kB / 468 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 61.03 MB / 0.5166 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001768/0.1262, allocations: 0.5906 MB / 0.5172 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.1266, allocations: 123.5 kB / 0.5173 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.1266, allocations: 0 / 0.5173 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.1266, allocations: 3.938 kB / 0.5173 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1269, allocations: 39.83 kB / 0.5174 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.1269, allocations: 0 / 0.5174 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.127, allocations: 23.91 kB / 0.5174 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.127, allocations: 4 kB / 0.5174 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.127, allocations: 7.938 kB / 0.5174 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.1271, allocations: 19.86 kB / 0.5174 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1271, allocations: 0 / 0.5174 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1272, allocations: 47.95 kB / 0.5175 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1272, allocations: 3.984 kB / 0.5175 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.1272, allocations: 19.86 kB / 0.5175 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1274, allocations: 43.83 kB / 0.5175 GB, free: 5.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1274, allocations: 4 kB / 0.5175 GB, free: 5.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1274, allocations: 0 / 0.5175 GB, free: 5.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1274, allocations: 0 / 0.5175 GB, free: 5.875 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003447/0.1277, allocations: 266.2 kB / 0.5178 GB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1278, allocations: 8.031 kB / 0.5178 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1278, allocations: 4.938 kB / 0.5178 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1279, allocations: 110.4 kB / 0.5179 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1279, allocations: 8.359 kB / 0.5179 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1279, allocations: 4.375 kB / 0.5179 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1281, allocations: 66.17 kB / 0.518 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1281, allocations: 192 / 0.518 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1281, allocations: 3.938 kB / 0.518 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1281, allocations: 0 / 0.518 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1282, allocations: 59.89 kB / 0.5181 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.1284, allocations: 146.5 kB / 0.5182 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1286, allocations: 66.56 kB / 0.5183 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1286, allocations: 32.84 kB / 0.5183 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.1289, allocations: 27.97 kB / 0.5183 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1289, allocations: 30.84 kB / 0.5183 GB, free: 4.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1289, allocations: 3.938 kB / 0.5184 GB, free: 4.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000237/0.1291, allocations: 101.6 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1292, allocations: 59.28 kB / 0.5185 GB, free: 4.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.1293, allocations: 97.86 kB / 0.5186 GB, free: 4.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1293, allocations: 29.7 kB / 0.5186 GB, free: 4.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.1293, allocations: 84.09 kB / 0.5187 GB, free: 4.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1294, allocations: 31.73 kB / 0.5187 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.1294, allocations: 21.72 kB / 0.5188 GB, free: 4.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1296, allocations: 314.8 kB / 0.5191 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.1296, allocations: 15.98 kB / 0.5191 GB, free: 4.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.1296, allocations: 19.98 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.1297, allocations: 61.42 kB / 0.5191 GB, free: 4.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1297, allocations: 0 / 0.5191 GB, free: 4.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.1299, allocations: 81.64 kB / 0.5192 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1299, allocations: 4 kB / 0.5192 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1299, allocations: 3.938 kB / 0.5192 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1299, allocations: 0 / 0.5192 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.13, allocations: 27.92 kB / 0.5193 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.13, allocations: 0 / 0.5193 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.13, allocations: 3.938 kB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1301, allocations: 8 kB / 0.5193 GB, free: 3.922 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 (10): * Single equations (assignments): 10 * 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.736e-05/0.1301, allocations: 113.8 kB / 0.5194 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1302, allocations: 7.953 kB / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1304, allocations: 105.4 kB / 0.5195 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1304, allocations: 4 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1304, allocations: 0 / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1304, allocations: 0 / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1305, allocations: 140.7 kB / 0.5196 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1305, allocations: 0 / 0.5196 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.1306, allocations: 15.98 kB / 0.5196 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1306, allocations: 4 kB / 0.5196 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1306, allocations: 11.88 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1306, allocations: 0 / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1306, allocations: 0 / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1308, allocations: 117.2 kB / 0.5198 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.1308, allocations: 7.875 kB / 0.5198 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1308, allocations: 3.938 kB / 0.5198 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.708e-05/0.1308, allocations: 8 kB / 0.5198 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1308, allocations: 11.92 kB / 0.5198 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1309, allocations: 4 kB / 0.5198 GB, free: 3.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.1309, allocations: 75.28 kB / 0.5199 GB, free: 3.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1309, allocations: 0 / 0.5199 GB, free: 3.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.1311, allocations: 16 kB / 0.5199 GB, free: 3.207 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 (10): * Single equations (assignments): 10 * 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.0001428/0.1313, allocations: 107.2 kB / 0.52 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1314, allocations: 51.92 kB / 0.52 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1314, allocations: 4.094 kB / 0.52 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.1315, allocations: 27.92 kB / 0.5201 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1316, allocations: 8 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.132, allocations: 136.8 kB / 0.5202 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1323, allocations: 0.6807 MB / 0.5209 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.1324, allocations: 7.984 kB / 0.5209 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.1324, allocations: 15.44 kB / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1324, allocations: 0 / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Templates: time 0.00349/0.1359, allocations: 0.688 MB / 0.5216 GB, free: 1.426 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.855742659419775]