Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.002011/0.002011, 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.002225/0.002225, 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.468/1.468, 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.2262/0.2262, allocations: 44.28 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.003495/0.003495, allocations: 71.91 kB / 468.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1266, allocations: 61.04 MB / 0.5167 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001759/0.1283, allocations: 0.5478 MB / 0.5172 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.1286, allocations: 67.66 kB / 0.5173 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.1287, allocations: 0 / 0.5173 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1287, allocations: 0 / 0.5173 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1289, allocations: 19.91 kB / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.693e-05/0.1289, allocations: 0 / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.129, allocations: 4 kB / 0.5173 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.1291, allocations: 11.98 kB / 0.5173 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.1291, allocations: 0 / 0.5173 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.1291, allocations: 7.875 kB / 0.5173 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1292, allocations: 4 kB / 0.5173 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1293, allocations: 19.98 kB / 0.5174 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.1293, allocations: 7.984 kB / 0.5174 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1293, allocations: 0 / 0.5174 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1294, allocations: 19.91 kB / 0.5174 GB, free: 5.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1294, allocations: 0 / 0.5174 GB, free: 5.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1294, allocations: 0 / 0.5174 GB, free: 5.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1294, allocations: 0 / 0.5174 GB, free: 5.902 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.000341/0.1298, allocations: 250.4 kB / 0.5176 GB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1298, allocations: 8.031 kB / 0.5176 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1298, allocations: 4.938 kB / 0.5176 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1299, allocations: 106.5 kB / 0.5177 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1299, allocations: 384 / 0.5177 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.13, allocations: 8.375 kB / 0.5178 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.1301, allocations: 34.25 kB / 0.5178 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1301, allocations: 192 / 0.5178 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1301, allocations: 3.938 kB / 0.5178 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1301, allocations: 3.938 kB / 0.5178 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.1301, allocations: 4 kB / 0.5178 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1303, allocations: 101.3 kB / 0.5179 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1304, allocations: 34.61 kB / 0.5179 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.1305, allocations: 12.86 kB / 0.5179 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.1308, allocations: 44.03 kB / 0.518 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1308, allocations: 30.56 kB / 0.518 GB, free: 5.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1308, allocations: 3.938 kB / 0.518 GB, free: 5.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001248/0.1321, allocations: 185.3 kB / 0.5182 GB, free: 4.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1321, allocations: 55.41 kB / 0.5182 GB, free: 4.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.1322, allocations: 101.8 kB / 0.5183 GB, free: 4.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1322, allocations: 25.7 kB / 0.5184 GB, free: 4.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.1323, allocations: 80.14 kB / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1323, allocations: 19.84 kB / 0.5185 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1324, allocations: 17.66 kB / 0.5185 GB, free: 4.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1325, allocations: 319 kB / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.1326, allocations: 19.98 kB / 0.5188 GB, free: 4.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.1327, allocations: 19.98 kB / 0.5188 GB, free: 4.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1328, allocations: 40.83 kB / 0.5189 GB, free: 4.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1328, allocations: 0 / 0.5189 GB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.133, allocations: 85.61 kB / 0.5189 GB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.133, allocations: 4 kB / 0.5189 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1331, allocations: 12.12 kB / 0.519 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1331, allocations: 0 / 0.519 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1332, allocations: 19.98 kB / 0.519 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1332, allocations: 0 / 0.519 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.1333, allocations: 7.984 kB / 0.519 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1333, allocations: 0 / 0.519 GB, free: 4.098 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 (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 8.959e-05/0.1334, allocations: 109.8 kB / 0.5191 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.1334, allocations: 4 kB / 0.5191 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.1337, allocations: 97.17 kB / 0.5192 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1337, allocations: 0 / 0.5192 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1337, allocations: 3.938 kB / 0.5192 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1337, allocations: 288 / 0.5192 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.1344, allocations: 299 kB / 0.5195 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1344, allocations: 4 kB / 0.5195 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.1345, allocations: 19.95 kB / 0.5195 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1345, allocations: 0 / 0.5195 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1345, allocations: 7.984 kB / 0.5195 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1345, allocations: 0 / 0.5195 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1345, allocations: 0 / 0.5195 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1348, allocations: 182.1 kB / 0.5197 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.1348, allocations: 3.953 kB / 0.5197 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1348, allocations: 4 kB / 0.5197 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1349, allocations: 11.98 kB / 0.5197 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1349, allocations: 3.938 kB / 0.5197 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1349, allocations: 8 kB / 0.5197 GB, free: 3.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.135, allocations: 75.28 kB / 0.5198 GB, free: 3.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.135, allocations: 3.938 kB / 0.5198 GB, free: 3.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1352, allocations: 11.94 kB / 0.5198 GB, free: 3.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001447/0.1353, allocations: 99.23 kB / 0.5199 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1356, allocations: 44.19 kB / 0.5199 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1356, allocations: 4 kB / 0.5199 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1356, allocations: 23.91 kB / 0.52 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.0002292/0.1359, allocations: 15.88 kB / 0.52 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.1363, allocations: 133.8 kB / 0.5201 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.526e-05/0.1363, allocations: 63.34 kB / 0.5202 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.1364, allocations: 12.06 kB / 0.5202 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1364, allocations: 7.438 kB / 0.5202 GB, free: 2.734 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.1364, allocations: 4 kB / 0.5202 GB, free: 2.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003033/0.1395, allocations: 0.6863 MB / 0.5209 GB, free: 2.047 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.90638573653996]