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.001/0.001, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001217/0.001217, allocations: 165 kB / 24.56 MB, free: 16 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 0.9881/0.9881, allocations: 177.1 MB / 205 MB, free: 5.621 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.2649/0.2649, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.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.783e-06/1.783e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.973e-05, allocations: 2.312 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00614/0.00617, allocations: 1.746 MB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000889/0.007059, allocations: 0.5608 MB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.007119, allocations: 0 / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.007411, allocations: 27.72 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.007835, allocations: 91.55 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.008189, allocations: 131.5 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.008407, allocations: 95.81 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.008511, allocations: 16 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.008618, allocations: 51.88 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.0087, allocations: 27.91 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.008722, allocations: 12 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.008927, allocations: 99.75 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.009001, allocations: 27.91 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.009038, allocations: 19.98 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.009394, allocations: 159.4 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.009399, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.009401, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.009407, allocations: 0 / 381.1 MB, free: 15.55 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.0005884/0.009995, allocations: 455.8 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.01004, allocations: 8.031 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.0101, allocations: 16.89 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.01032, allocations: 144 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.01033, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.01036, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01059, allocations: 127.7 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.0106, allocations: 4 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.01061, allocations: 0 / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.01062, allocations: 0 / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.01068, allocations: 12 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.01114, allocations: 295.7 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.01128, allocations: 54.92 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.01132, allocations: 15.69 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01134, allocations: 3.984 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.01137, allocations: 37.39 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.01137, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006578/0.01203, allocations: 161.4 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.01208, allocations: 77.11 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.01225, allocations: 217.9 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.01227, allocations: 25.7 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.01262, allocations: 142.8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.01266, allocations: 31.73 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.01272, allocations: 31.38 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01286, allocations: 0.4962 MB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.01291, allocations: 11.98 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.01298, allocations: 53.45 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.364e-05/0.01307, allocations: 43.61 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01307, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.01324, allocations: 93.75 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01326, allocations: 11.97 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01327, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01328, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01344, allocations: 27.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.01345, allocations: 11.97 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.01351, allocations: 11.94 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01352, allocations: 3.984 kB / 383.7 MB, free: 12.72 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 9.349e-05/0.01362, allocations: 160.6 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01366, allocations: 15.95 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.01386, allocations: 90.38 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01386, allocations: 0 / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01387, allocations: 0 / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01387, allocations: 3.938 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.01431, allocations: 373.3 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01432, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01443, allocations: 23.98 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.01443, allocations: 0 / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01444, allocations: 11.92 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.01445, allocations: 4 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01445, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.01465, allocations: 219.8 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01467, allocations: 7.953 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01469, allocations: 7.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.01478, allocations: 11.98 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.01485, allocations: 15.97 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01486, allocations: 4 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.01496, allocations: 158.5 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01496, allocations: 0 / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.01529, allocations: 51.81 kB / 384.8 MB, free: 11.5 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.001237/0.01653, allocations: 0.4901 MB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.01669, allocations: 59.47 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01669, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.01674, allocations: 31.62 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01698, allocations: 31.92 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.01738, allocations: 206.7 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01742, allocations: 63.34 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.01748, allocations: 16.48 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.01753, allocations: 32.42 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01753, allocations: 0 / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005346/0.02287, allocations: 2.911 MB / 388.7 MB, free: 7.82 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","",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.383345363661647]