Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001167/0.001167, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001279/0.001279, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 1.019/1.019, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1568/0.1568, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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",fileNamePrefix="ModelicaTest_4.0.0_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.971e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003103/0.003133, allocations: 1.729 MB / 379 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.004075, allocations: 0.5685 MB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.004155, allocations: 4 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.00438, allocations: 35.72 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.004672, allocations: 83.55 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.005042, allocations: 171.5 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.005211, allocations: 107.6 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.005308, allocations: 12 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.005397, allocations: 55.83 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.005471, allocations: 35.89 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.005493, allocations: 8 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.00565, allocations: 95.81 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.005706, allocations: 23.92 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.005739, allocations: 23.91 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.005988, allocations: 159.5 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.00599, allocations: 0 / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005991, allocations: 0 / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005996, allocations: 4 kB / 380.4 MB, free: 22.46 MB / 314.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.0004262/0.006422, allocations: 463.8 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.006464, allocations: 11.98 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.00651, allocations: 16.83 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.006655, allocations: 149 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.006664, allocations: 384 / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.006683, allocations: 4.375 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.006846, allocations: 115.8 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006857, allocations: 0 / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006866, allocations: 4 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.006871, allocations: 4 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.006912, allocations: 19.92 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.007258, allocations: 288.3 kB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.007351, allocations: 47.03 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.007377, allocations: 23.73 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.007399, allocations: 7.922 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.007416, allocations: 37.39 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.007417, allocations: 4 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004792/0.007896, allocations: 145.4 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.007923, allocations: 77.11 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.008028, allocations: 212.5 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.00804, allocations: 29.7 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.008082, allocations: 146.8 kB / 382.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.008108, allocations: 31.75 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.008158, allocations: 31.36 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.008217, allocations: 0.4961 MB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.008248, allocations: 15.92 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.008298, allocations: 65.08 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.008371, allocations: 27.69 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008372, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.008476, allocations: 77.58 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.008486, allocations: 8 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00849, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.0085, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.008617, allocations: 31.91 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.00862, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.008691, allocations: 23.95 kB / 382.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.008701, allocations: 4 kB / 382.9 MB, free: 19.66 MB / 314.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.683e-05/0.008758, allocations: 156.5 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.0088, allocations: 19.91 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.008951, allocations: 86.38 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008954, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.008956, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.00896, allocations: 4 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.009291, allocations: 345.8 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009293, allocations: 4 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.009363, allocations: 23.98 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.009366, allocations: 4.312 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.009375, allocations: 4 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009378, allocations: 7.984 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009379, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.009531, allocations: 235.7 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.009546, allocations: 7.953 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.009565, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.009668, allocations: 15.98 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.009715, allocations: 11.98 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.009723, allocations: 7.984 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.009778, allocations: 154.3 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009778, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.0101, allocations: 51.86 kB / 384.1 MB, free: 18.47 MB / 314.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.001229/0.01133, allocations: 495.9 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01145, allocations: 43.61 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01145, allocations: 4 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.0115, allocations: 27.61 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.01183, allocations: 35.95 kB / 384.7 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.01215, allocations: 220.5 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.668e-05/0.01218, allocations: 75.2 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.01223, allocations: 16.48 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.01231, allocations: 98.17 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01231, allocations: 0 / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.00525/0.01756, allocations: 3.041 MB / 388.1 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.3148277746513486]