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.0009453/0.0009453, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009505/0.0009505, allocations: 168.7 kB / 24.91 MB, free: 8.762 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.9413/0.9413, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2646/0.2646, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.272e-06/1.272e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.284e-05, allocations: 3.188 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002161/0.002184, allocations: 1.732 MB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.002935, allocations: 0.5685 MB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.002986, allocations: 0 / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.003161, allocations: 19.8 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.003434, allocations: 91.48 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.003691, allocations: 139.5 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003826, allocations: 87.7 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.0039, allocations: 16.5 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.003981, allocations: 51.88 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.004045, allocations: 31.89 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004061, allocations: 8 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.004208, allocations: 99.77 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.004263, allocations: 23.91 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.004286, allocations: 19.98 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.00449, allocations: 155.5 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004492, allocations: 0 / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004493, allocations: 3.938 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.004496, allocations: 4 kB / 328.3 MB, free: 4.605 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.0003457/0.004841, allocations: 329.5 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.004871, allocations: 8.031 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.004904, allocations: 16.92 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005031, allocations: 130.2 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.005039, allocations: 4.375 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.005059, allocations: 4.375 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.005191, allocations: 118 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005199, allocations: 0 / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005207, allocations: 8 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005212, allocations: 0 / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.005236, allocations: 4 kB / 328.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.005483, allocations: 172.3 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.448e-05/0.005557, allocations: 34.5 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.005573, allocations: 8.859 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.005591, allocations: 7.938 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.005611, allocations: 34.69 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.005612, allocations: 3.984 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003454/0.005958, allocations: 149.5 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.005991, allocations: 81.05 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.006076, allocations: 142.6 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006088, allocations: 29.7 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.00612, allocations: 96.06 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.006142, allocations: 31.73 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.006174, allocations: 25.7 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.006253, allocations: 330.7 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.006272, allocations: 8 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.006309, allocations: 51.41 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.006355, allocations: 40.98 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006356, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.526e-05/0.006432, allocations: 57.67 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.006441, allocations: 7.938 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006445, allocations: 4 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006457, allocations: 0 / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.006541, allocations: 31.91 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006544, allocations: 0 / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.006585, allocations: 20.39 kB / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.00659, allocations: 0 / 330.2 MB, free: 2.469 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 (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 5.513e-05/0.006646, allocations: 120.6 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.006666, allocations: 11.98 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.006766, allocations: 78.38 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006768, allocations: 0 / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.006769, allocations: 4 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.006772, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.006996, allocations: 246.6 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006997, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.007053, allocations: 27.97 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007054, allocations: 4 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.007059, allocations: 0 / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.007061, allocations: 0 / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007061, allocations: 0 / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.007154, allocations: 163.4 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.007164, allocations: 11.94 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.007177, allocations: 3.984 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.007229, allocations: 15.98 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.007266, allocations: 19.92 kB / 330.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.00727, allocations: 0 / 330.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.007299, allocations: 31.84 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007299, allocations: 0 / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.007472, allocations: 51.86 kB / 331 MB, free: 1.637 MB / 298.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.001271/0.008744, allocations: 0.6444 MB / 331.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.008844, allocations: 44.77 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.008848, allocations: 4 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.008877, allocations: 24.84 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.009035, allocations: 23.98 kB / 331.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.009332, allocations: 220.6 kB / 332 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.00937, allocations: 67.33 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.009417, allocations: 16.48 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.009496, allocations: 75.33 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009497, allocations: 0 / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of Templates: time 0.003904/0.0134, allocations: 2.755 MB / 334.9 MB, free: 14.06 MB / 314.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: 2.9219173840247095]