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.001187/0.001187, allocations: 83.58 kB / 21.19 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.001323/0.001323, allocations: 161 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 1.055/1.055, allocations: 177.1 MB / 205 MB, free: 5.641 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.2623/0.2623, allocations: 34.26 MB / 295.7 MB, free: 0.7773 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.903e-06/1.903e-06, allocations: 0 / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.142e-05, allocations: 5.125 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00338/0.003411, allocations: 1.739 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004456, allocations: 0.5647 MB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.004531, allocations: 0 / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.004761, allocations: 19.84 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.005147, allocations: 87.48 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.005529, allocations: 135.5 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.005728, allocations: 99.75 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005837, allocations: 19.98 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.005945, allocations: 47.89 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.006026, allocations: 31.89 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.006047, allocations: 8 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.006225, allocations: 91.88 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.006298, allocations: 27.91 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.006331, allocations: 15.94 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.00664, allocations: 163.4 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006643, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006644, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00665, allocations: 4 kB / 381.1 MB, free: 15.58 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.0006045/0.007254, allocations: 455.8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.007303, allocations: 8.031 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.007366, allocations: 12.89 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007588, allocations: 152.1 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.007602, allocations: 384 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.007634, allocations: 8.312 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.007858, allocations: 119.7 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.00787, allocations: 0 / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.007886, allocations: 12 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007895, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.007949, allocations: 7.984 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.008419, allocations: 303.6 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.008549, allocations: 46.98 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.008589, allocations: 15.69 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.008617, allocations: 0 / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.008653, allocations: 41.45 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.985e-06/0.008656, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007248/0.009381, allocations: 165.3 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.009428, allocations: 77.11 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.0096, allocations: 205.9 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.009616, allocations: 25.7 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.009692, allocations: 150.8 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.009724, allocations: 27.75 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.009784, allocations: 31.36 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.009944, allocations: 0.4923 MB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.009987, allocations: 8 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.01006, allocations: 69.38 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.01015, allocations: 35.69 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01015, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.01032, allocations: 89.81 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01034, allocations: 11.98 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01035, allocations: 3.984 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01037, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.0105, allocations: 23.98 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01051, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.01057, allocations: 19.95 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.01058, allocations: 7.938 kB / 383.7 MB, free: 12.75 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.0001002/0.01068, allocations: 160.6 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.01073, allocations: 11.95 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.01093, allocations: 98.34 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01093, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01094, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01094, allocations: 3.938 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.01137, allocations: 373.4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01137, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.01148, allocations: 27.98 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01148, allocations: 0 / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.0115, allocations: 3.938 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.0115, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0115, allocations: 3.938 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.01171, allocations: 223.9 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01173, allocations: 11.95 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01174, allocations: 3.938 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.01184, allocations: 11.98 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.0119, allocations: 19.92 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01191, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.01201, allocations: 162.3 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01201, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.01235, allocations: 47.86 kB / 384.8 MB, free: 11.53 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.001555/0.01391, allocations: 0.5007 MB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.01409, allocations: 51.48 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01409, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.01415, allocations: 35.61 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01449, allocations: 27.94 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.01496, allocations: 214.7 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.007e-05/0.01501, allocations: 63.34 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.01508, allocations: 12.48 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.01515, allocations: 24.5 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01515, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.005866/0.02101, allocations: 2.651 MB / 388.4 MB, free: 8.102 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.324597113300115]