Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.000977/0.000977, allocations: 91.22 kB / 20.42 MB, free: 4.145 MB / 18.57 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.0009887/0.0009887, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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 0.9522/0.9522, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.1253/0.1253, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 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.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.565e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002032/0.002057, allocations: 1.603 MB / 349.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.002557, allocations: 335.3 kB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.002613, allocations: 0 / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.003038, allocations: 455.1 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.003309, allocations: 255.4 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.003589, allocations: 143.7 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.003782, allocations: 163.6 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.003878, allocations: 8 kB / 350.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.003964, allocations: 115.8 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.00412, allocations: 235.6 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.00414, allocations: 4 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.0042, allocations: 19.98 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.004277, allocations: 83.7 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.004318, allocations: 35.75 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.004504, allocations: 183.2 kB / 351.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004507, allocations: 0 / 351.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004508, allocations: 4 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.004513, allocations: 0 / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004742/0.004987, allocations: 0.6815 MB / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.005023, allocations: 8.031 kB / 352 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.005074, allocations: 48.66 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.005232, allocations: 248.8 kB / 352.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.005244, allocations: 4.375 kB / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.005253, allocations: 384 / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005363, allocations: 58.89 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005371, allocations: 192 / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.005381, allocations: 8.125 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005388, allocations: 0 / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.005414, allocations: 8 kB / 352.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.005771, allocations: 411.7 kB / 352.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.005824, allocations: 38.98 kB / 352.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.005845, allocations: 15.69 kB / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.005863, allocations: 0 / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.00588, allocations: 33.39 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005881, allocations: 0 / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.00603, allocations: 81.47 kB / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.006056, allocations: 55.34 kB / 353 MB, free: 3.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.006359, allocations: 0.6237 MB / 353.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.006364, allocations: 25.7 kB / 353.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.006464, allocations: 286.8 kB / 353.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.006483, allocations: 7.953 kB / 353.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.006506, allocations: 15.38 kB / 353.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.006586, allocations: 0.547 MB / 354.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.0066, allocations: 7.984 kB / 354.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.006608, allocations: 0 / 354.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.006634, allocations: 19.88 kB / 354.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006636, allocations: 0 / 354.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.287e-05/0.006699, allocations: 85.3 kB / 354.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.006711, allocations: 4 kB / 354.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006716, allocations: 0 / 354.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006729, allocations: 0 / 354.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.006789, allocations: 15.92 kB / 354.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006794, allocations: 0 / 354.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.006816, allocations: 8 kB / 354.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006822, allocations: 0 / 354.6 MB, free: 2.289 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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 5.254e-05/0.006874, allocations: 156.6 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.006899, allocations: 47.66 kB / 354.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/0.006993, allocations: 80.72 kB / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006995, allocations: 0 / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.006998, allocations: 0 / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.007001, allocations: 0 / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.007154, allocations: 276.5 kB / 355.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007156, allocations: 0 / 355.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.007175, allocations: 7.938 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007178, allocations: 3.938 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007185, allocations: 8.031 kB / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007186, allocations: 4 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007188, allocations: 0 / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.762e-05/0.007265, allocations: 219.7 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.007287, allocations: 39.66 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.007302, allocations: 0 / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.007336, allocations: 4 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.007369, allocations: 0 / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.007372, allocations: 4 kB / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.00759, allocations: 422.8 kB / 355.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.00759, allocations: 4.031 kB / 355.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.007754, allocations: 19.94 kB / 355.9 MB, free: 0.9492 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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.0007089/0.008463, allocations: 338.8 kB / 356.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.008555, allocations: 11.69 kB / 356.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008557, allocations: 0 / 356.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.008571, allocations: 11.69 kB / 356.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.008809, allocations: 30.08 kB / 356.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.009325, allocations: 0.5619 MB / 356.8 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.349e-05/0.009418, allocations: 119.2 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.009451, allocations: 11.97 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.00948, allocations: 12.5 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009481, allocations: 0 / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Templates: time 0.00406/0.01354, allocations: 1.242 MB / 358.2 MB, free: 14.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0367695577442646]