Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001082/0.001082, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001205/0.001205, allocations: 173 kB / 24.91 MB, free: 8.773 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 0.9941/0.9941, allocations: 177.1 MB / 205.3 MB, free: 5.082 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2547/0.2547, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.834e-05, allocations: 3.156 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002939/0.002968, allocations: 1.661 MB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.0039, allocations: 0.5297 MB / 327.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.003969, allocations: 4 kB / 327.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.004252, allocations: 75.64 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.00458, allocations: 103.6 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.004877, allocations: 103.5 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.005048, allocations: 80.44 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.00514, allocations: 15.98 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.005222, allocations: 39.89 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005328, allocations: 55.88 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.005342, allocations: 7.938 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.005438, allocations: 47.91 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.005485, allocations: 15.94 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.005522, allocations: 15.92 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005698, allocations: 87.67 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005702, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.005704, allocations: 3.984 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005708, allocations: 0 / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003736/0.006082, allocations: 317.6 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.006113, allocations: 11.97 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.006149, allocations: 12.94 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.006303, allocations: 143.4 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.006314, allocations: 4.375 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.006335, allocations: 4.375 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006447, allocations: 58.94 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006457, allocations: 192 / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006467, allocations: 12.06 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006472, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.0065, allocations: 11.98 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.006736, allocations: 171 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.006802, allocations: 34.56 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.00682, allocations: 8.859 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.006836, allocations: 0 / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.006859, allocations: 34.5 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00686, allocations: 0 / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004989/0.007359, allocations: 150.5 kB / 329.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.007395, allocations: 51.41 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.00753, allocations: 185.5 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.007543, allocations: 29.7 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.007583, allocations: 104 kB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.007608, allocations: 15.81 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.007645, allocations: 29.69 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.007736, allocations: 322.8 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.007753, allocations: 4 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.007767, allocations: 4 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.00781, allocations: 32.81 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.007811, allocations: 0 / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.55e-05/0.007897, allocations: 73.78 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.00791, allocations: 4 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007915, allocations: 0 / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007928, allocations: 0 / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.008005, allocations: 15.98 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.008008, allocations: 0 / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.008036, allocations: 7.938 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.008043, allocations: 3.984 kB / 329.9 MB, free: 2.844 MB / 298.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 (8): * Single equations (assignments): 8 * 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 7.119e-05/0.008115, allocations: 120.7 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.008145, allocations: 11.88 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.008272, allocations: 79.06 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.008275, allocations: 4 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008276, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008279, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.00857, allocations: 247.5 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.008574, allocations: 4 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.008632, allocations: 15.98 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.008637, allocations: 4 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008643, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.008645, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.008648, allocations: 7.969 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.008763, allocations: 164.3 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.008778, allocations: 11.91 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.008793, allocations: 4 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.00885, allocations: 3.984 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.008876, allocations: 4 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.008882, allocations: 4 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.914e-05/0.008941, allocations: 52.14 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008941, allocations: 0 / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.009163, allocations: 19.98 kB / 330.7 MB, free: 2.031 MB / 298.7 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 (8): * Single equations (assignments): 8 * 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.001639/0.0108, allocations: 0.5767 MB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.01089, allocations: 36.77 kB / 331.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.0109, allocations: 0 / 331.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.01093, allocations: 24.8 kB / 331.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01115, allocations: 25.36 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.01155, allocations: 223.6 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.0116, allocations: 71.31 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.01164, allocations: 9.047 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.01169, allocations: 67.36 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0117, allocations: 4 kB / 331.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003268/0.01496, allocations: 1.483 MB / 333.2 MB, free: 15.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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: 2.9455991401337087]