Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001108/0.001108, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001302/0.001302, allocations: 168.5 kB / 25.61 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1473/0.1473, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.564e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001963/0.001988, allocations: 1.614 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.00301, allocations: 1.266 MB / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.003066, allocations: 0 / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.003269, allocations: 31.78 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.003505, allocations: 87.48 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.003704, allocations: 95.69 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.003817, allocations: 63.78 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.003904, allocations: 11.84 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.003958, allocations: 39.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.004049, allocations: 23.97 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004063, allocations: 7.938 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.004176, allocations: 87.81 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.004214, allocations: 15.94 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.004239, allocations: 23.97 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.004432, allocations: 131.5 kB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004434, allocations: 0 / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004435, allocations: 0 / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.00444, allocations: 0 / 380.8 MB, free: 22.08 MB / 314.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.0003822/0.004823, allocations: 420 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.004861, allocations: 11.98 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.0049, allocations: 12.89 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.00504, allocations: 136.5 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.00505, allocations: 8.375 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.005072, allocations: 12.31 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.0052, allocations: 100 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00521, allocations: 192 / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005219, allocations: 12.06 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005225, allocations: 0 / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.005249, allocations: 7.984 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.005485, allocations: 252.4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.005678, allocations: 46.97 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.005695, allocations: 11.78 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.005714, allocations: 3.984 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.005732, allocations: 45.33 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005733, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003385/0.006072, allocations: 85.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.006112, allocations: 77.11 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.006233, allocations: 196 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.006241, allocations: 25.7 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.006289, allocations: 146.9 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.006316, allocations: 15.86 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.00635, allocations: 27.36 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.006434, allocations: 0.4884 MB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.006448, allocations: 7.984 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.006489, allocations: 57 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.006524, allocations: 19.69 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.006525, allocations: 0 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.562e-05/0.006611, allocations: 61.58 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.00663, allocations: 4 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.006639, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.006653, allocations: 256 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.006721, allocations: 19.92 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006725, allocations: 4 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.006751, allocations: 4.031 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.006757, allocations: 4 kB / 383.1 MB, free: 19.56 MB / 314.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 (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 6.44e-05/0.006821, allocations: 156.6 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.006848, allocations: 11.89 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.006985, allocations: 70.08 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.006989, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006992, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.006997, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.007232, allocations: 305.9 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007234, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.007272, allocations: 12 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007274, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007282, allocations: 3.984 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007283, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.007284, allocations: 4 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.007366, allocations: 215.8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.007374, allocations: 7.953 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.007393, allocations: 0 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.007427, allocations: 4 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.007452, allocations: 7.984 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.007455, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.007495, allocations: 148.9 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007495, allocations: 0 / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.007687, allocations: 35.92 kB / 384 MB, free: 18.53 MB / 314.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 (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.0009818/0.008668, allocations: 0.4888 MB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.008753, allocations: 27.61 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008754, allocations: 3.938 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.008771, allocations: 15.69 kB / 384.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.008973, allocations: 29.27 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.009222, allocations: 159.9 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.315e-05/0.009245, allocations: 67.2 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.009282, allocations: 16.22 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.009334, allocations: 86.19 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009335, allocations: 0 / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003361/0.0127, allocations: 2.033 MB / 386.9 MB, free: 15.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.342396453022957]