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.001859/0.001859, allocations: 71.77 kB / 19.93 MB, free: 1.77 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.001473/0.001473, allocations: 168.9 kB / 23.21 MB, free: 4.887 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.369/1.369, allocations: 158.6 MB / 185 MB, free: 6.41 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.2137/0.2137, allocations: 32.38 MB / 269.6 MB, free: 4.762 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.742e-05, allocations: 8.531 kB / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001492/0.001519, allocations: 0.5555 MB / 407.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.001764, allocations: 65.53 kB / 408 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.00179, allocations: 0 / 408 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.001805, allocations: 0 / 408 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.002006, allocations: 19.92 kB / 408 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.626e-05/0.002022, allocations: 4 kB / 408 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.002069, allocations: 4 kB / 408 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.002114, allocations: 3.938 kB / 408 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.002139, allocations: 3.984 kB / 408 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.002178, allocations: 4 kB / 408 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.00219, allocations: 0 / 408 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.002269, allocations: 19.98 kB / 408.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.002282, allocations: 3.984 kB / 408.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002296, allocations: 4 kB / 408.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.002385, allocations: 31.78 kB / 408.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002387, allocations: 4 kB / 408.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002387, allocations: 0 / 408.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.002391, allocations: 0 / 408.1 MB, free: 2.281 MB / 334.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.0003249/0.002716, allocations: 242.4 kB / 408.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.00275, allocations: 8.031 kB / 408.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.002779, allocations: 4.891 kB / 408.4 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.002889, allocations: 109.8 kB / 408.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.002901, allocations: 384 / 408.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.002923, allocations: 384 / 408.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.003012, allocations: 38.19 kB / 408.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.003023, allocations: 192 / 408.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00303, allocations: 4.375 kB / 408.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.003036, allocations: 4.375 kB / 408.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.003078, allocations: 11.94 kB / 408.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.00321, allocations: 97.31 kB / 408.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.003393, allocations: 38.52 kB / 408.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.003423, allocations: 16.98 kB / 408.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.003741, allocations: 31.95 kB / 408.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.003773, allocations: 38.56 kB / 408.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.003774, allocations: 0 / 408.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.001278/0.005052, allocations: 189.3 kB / 408.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.005093, allocations: 55.34 kB / 409 MB, free: 1.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.005162, allocations: 93.86 kB / 409.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.005183, allocations: 25.7 kB / 409.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.005223, allocations: 84.14 kB / 409.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.005249, allocations: 11.91 kB / 409.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.005292, allocations: 17.7 kB / 409.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.005432, allocations: 314.8 kB / 409.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.005518, allocations: 19.98 kB / 409.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.005594, allocations: 15.98 kB / 409.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.005764, allocations: 53.14 kB / 409.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.005765, allocations: 0 / 409.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002381/0.006003, allocations: 85.81 kB / 409.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006017, allocations: 8 kB / 409.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.006021, allocations: 0 / 409.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.006033, allocations: 0 / 409.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.006158, allocations: 11.98 kB / 409.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.006164, allocations: 7.938 kB / 409.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.006255, allocations: 11.97 kB / 409.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.006262, allocations: 4 kB / 409.7 MB, free: 496 kB / 334.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.582e-05/0.006348, allocations: 112 kB / 409.8 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.006361, allocations: 11.89 kB / 409.8 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.00663, allocations: 89.23 kB / 409.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006632, allocations: 0 / 409.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.006638, allocations: 3.938 kB / 409.9 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.006646, allocations: 8 kB / 409.9 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.007375, allocations: 299 kB / 410.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007376, allocations: 0 / 410.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.007477, allocations: 15.98 kB / 410.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007479, allocations: 0 / 410.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.007491, allocations: 3.938 kB / 410.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.007494, allocations: 4 kB / 410.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007495, allocations: 4.156 kB / 410.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.007777, allocations: 180.3 kB / 410.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.007783, allocations: 4 kB / 410.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.007798, allocations: 3.938 kB / 410.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.007906, allocations: 7.984 kB / 410.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.007925, allocations: 4 kB / 410.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.007931, allocations: 0 / 410.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.007969, allocations: 75.28 kB / 410.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.007969, allocations: 8.094 kB / 410.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.008209, allocations: 11.94 kB / 410.6 MB, free: 15.58 MB / 350.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.0001328/0.008342, allocations: 99.23 kB / 410.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.008565, allocations: 51.89 kB / 410.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008567, allocations: 0 / 410.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.008652, allocations: 19.98 kB / 410.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.008869, allocations: 11.94 kB / 410.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.009277, allocations: 129.8 kB / 410.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.009339, allocations: 63.34 kB / 410.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.009378, allocations: 8 kB / 410.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.009415, allocations: 8.5 kB / 410.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.009416, allocations: 0 / 410.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Templates: time 0.003258/0.01267, allocations: 0.7197 MB / 411.7 MB, free: 14.43 MB / 350.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.615686558187008]