Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.002398/0.002398, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002772/0.002772, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 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.694/1.694, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3855/0.3855, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.376e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003299/0.003323, allocations: 1.696 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004506, allocations: 0.5608 MB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.004557, allocations: 0 / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.004764, allocations: 19.86 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.005059, allocations: 87.42 kB / 379.7 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.005381, allocations: 139.6 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.005577, allocations: 95.64 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.005676, allocations: 11.98 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.0058, allocations: 51.89 kB / 380 MB, free: 288 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.005889, allocations: 35.89 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.005911, allocations: 4 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.006099, allocations: 95.88 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.006167, allocations: 23.86 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.543e-05/0.006212, allocations: 19.92 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.006579, allocations: 179.4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006582, allocations: 4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006583, allocations: 0 / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006588, allocations: 0 / 380.3 MB, free: 15.93 MB / 362.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.0007479/0.007336, allocations: 463.4 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.007375, allocations: 8.031 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.007435, allocations: 12.89 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.007693, allocations: 152.2 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.007704, allocations: 384 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.007728, allocations: 4.375 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.007989, allocations: 115.1 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.008005, allocations: 11.97 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.008016, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.00802, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.008219, allocations: 47.91 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.008751, allocations: 299.8 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.008964, allocations: 70.92 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.009086, allocations: 43.78 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.009114, allocations: 0 / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.009147, allocations: 37.39 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.009148, allocations: 0 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001165/0.01031, allocations: 281.2 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.01038, allocations: 81.11 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01063, allocations: 221.8 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01065, allocations: 29.7 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01076, allocations: 154.9 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.0108, allocations: 31.75 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.01087, allocations: 31.36 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004193/0.01129, allocations: 0.4962 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.01147, allocations: 47.95 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.0117, allocations: 97.05 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.01205, allocations: 107.6 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01205, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004555/0.0125, allocations: 153.8 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01252, allocations: 9.906 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01252, allocations: 4 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01254, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.01272, allocations: 31.91 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01273, allocations: 4.359 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.933e-05/0.01283, allocations: 19.86 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01284, allocations: 4 kB / 383.3 MB, free: 12.67 MB / 362.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 (10): * Single equations (assignments): 10 * 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 0.0001478/0.01298, allocations: 164.6 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.01303, allocations: 15.95 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.01354, allocations: 158.3 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01355, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.01356, allocations: 4 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.01356, allocations: 7.922 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/0.01436, allocations: 437.3 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01436, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.01451, allocations: 31.91 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01451, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01452, allocations: 3.938 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01453, allocations: 0 / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01453, allocations: 0 / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.01506, allocations: 295.8 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.01508, allocations: 11.95 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.0151, allocations: 3.938 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.01523, allocations: 15.98 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.0153, allocations: 15.97 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01531, allocations: 0 / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.01546, allocations: 170.3 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01546, allocations: 0 / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.01578, allocations: 43.88 kB / 384.7 MB, free: 11.23 MB / 362.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 (9): * Single equations (assignments): 9 * 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.003325/0.0191, allocations: 0.5319 MB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.01959, allocations: 123.5 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.0196, allocations: 0 / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.01981, allocations: 71.58 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.02016, allocations: 35.86 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.02075, allocations: 222.6 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.02086, allocations: 89.44 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.624e-05/0.02095, allocations: 20.47 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.02103, allocations: 24.5 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02103, allocations: 0 / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.007026/0.02805, allocations: 2.651 MB / 388.5 MB, free: 7.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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: 5.139021269977093]