Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0009615/0.0009615, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001035/0.001035, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9649/0.9649, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1435/0.1435, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.013e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001814/0.001834, allocations: 1.691 MB / 349.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.002297, allocations: 383.1 kB / 349.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.002359, allocations: 3.938 kB / 349.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.002582, allocations: 27.78 kB / 349.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.002745, allocations: 43.77 kB / 349.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.002965, allocations: 155.6 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.003094, allocations: 91.7 kB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.003192, allocations: 12.16 kB / 350.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.003262, allocations: 47.89 kB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.00332, allocations: 27.91 kB / 350.1 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003337, allocations: 4 kB / 350.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.003419, allocations: 63.84 kB / 350.2 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.003471, allocations: 15.92 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.0035, allocations: 27.91 kB / 350.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.003652, allocations: 99.7 kB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003654, allocations: 7.984 kB / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003655, allocations: 0 / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.003659, allocations: 0 / 350.4 MB, free: 6.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003885/0.004047, allocations: 432 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.004085, allocations: 12.03 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.004129, allocations: 12.84 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004261, allocations: 144.4 kB / 350.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004271, allocations: 384 / 350.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.00429, allocations: 4.375 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.004455, allocations: 128 kB / 351.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.004466, allocations: 192 / 351.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004477, allocations: 4.125 kB / 351.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.004486, allocations: 4 kB / 351.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.004527, allocations: 15.92 kB / 351.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.004825, allocations: 307.7 kB / 351.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.004938, allocations: 43.05 kB / 351.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.004967, allocations: 19.56 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.004988, allocations: 8 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.005005, allocations: 33.52 kB / 351.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.005005, allocations: 0 / 351.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005332/0.005539, allocations: 157.6 kB / 351.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.005567, allocations: 77.11 kB / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.005658, allocations: 197 kB / 351.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.005666, allocations: 25.7 kB / 351.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.005698, allocations: 142.9 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.005719, allocations: 31.73 kB / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.00575, allocations: 31.38 kB / 352.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.0058, allocations: 0.4923 MB / 352.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.005829, allocations: 8.125 kB / 352.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.005869, allocations: 61.06 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.005927, allocations: 47.84 kB / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005928, allocations: 3.938 kB / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.001e-05/0.006018, allocations: 69.64 kB / 352.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.006029, allocations: 8 kB / 352.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.006033, allocations: 0 / 352.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.006049, allocations: 0 / 352.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.006148, allocations: 28 kB / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.006154, allocations: 4 kB / 352.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.006194, allocations: 15.98 kB / 352.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.0062, allocations: 0 / 352.9 MB, free: 3.973 MB / 282.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 4.592e-05/0.006246, allocations: 164.5 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.006267, allocations: 15.91 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.006395, allocations: 82.44 kB / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006396, allocations: 0 / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.0064, allocations: 4 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006402, allocations: 4 kB / 353.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.006611, allocations: 349.3 kB / 353.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006611, allocations: 0 / 353.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.006664, allocations: 23.98 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006665, allocations: 3.984 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006673, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006674, allocations: 4 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006674, allocations: 0 / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.006773, allocations: 227.8 kB / 353.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.006779, allocations: 7.953 kB / 353.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.006794, allocations: 4 kB / 353.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.006846, allocations: 15.98 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.006893, allocations: 7.984 kB / 353.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.006898, allocations: 7.984 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.006938, allocations: 147.2 kB / 353.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006938, allocations: 0 / 353.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007111, allocations: 31.92 kB / 354 MB, free: 2.82 MB / 282.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 (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.0008147/0.007926, allocations: 441.4 kB / 354.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.008063, allocations: 51.61 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008064, allocations: 0 / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.008102, allocations: 31.67 kB / 354.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.008319, allocations: 23.92 kB / 354.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.008619, allocations: 206.2 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.857e-05/0.008648, allocations: 71.34 kB / 354.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.008698, allocations: 24.77 kB / 354.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.008738, allocations: 20.44 kB / 354.8 MB, free: 2 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008738, allocations: 0 / 354.8 MB, free: 2 MB / 282.7 MB Notification: Performance of Templates: time 0.003716/0.01245, allocations: 2.392 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.2748380582779646]