Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001121/0.001121, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001059/0.001059, allocations: 165 kB / 23.8 MB, free: 0.7695 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.939/0.939, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1616/0.1616, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.908e-05/4.074e-05, allocations: 6.25 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002309/0.00235, allocations: 1.663 MB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003417, allocations: 1.075 MB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.003494, allocations: 4 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.003767, allocations: 31.7 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.003989, allocations: 43.73 kB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.00429, allocations: 151.6 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.004432, allocations: 75.75 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.004543, allocations: 8 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.004605, allocations: 39.84 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004707, allocations: 23.91 kB / 350.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.004728, allocations: 4 kB / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.004835, allocations: 51.91 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.004899, allocations: 15.92 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.004933, allocations: 15.98 kB / 350.9 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.005131, allocations: 87.72 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.005135, allocations: 0 / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005137, allocations: 3.938 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.005143, allocations: 0 / 351 MB, free: 6.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004404/0.005583, allocations: 420.1 kB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.005629, allocations: 8.031 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.005684, allocations: 12.89 kB / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.00583, allocations: 131.4 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005841, allocations: 384 / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.005871, allocations: 8.375 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.006032, allocations: 119.9 kB / 351.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006042, allocations: 192 / 351.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006051, allocations: 4.125 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006059, allocations: 0 / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.006104, allocations: 8 kB / 351.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.006433, allocations: 291.7 kB / 351.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.006514, allocations: 35 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.006549, allocations: 23.7 kB / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.006577, allocations: 8 kB / 352 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.006602, allocations: 33.39 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.006603, allocations: 0 / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000424/0.007027, allocations: 121.5 kB / 352.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.007056, allocations: 77.11 kB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.007142, allocations: 189.8 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.007148, allocations: 29.64 kB / 352.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.007184, allocations: 142.9 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.007204, allocations: 19.8 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.007235, allocations: 27.38 kB / 352.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.007296, allocations: 0.4923 MB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.007319, allocations: 12.06 kB / 353.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.007356, allocations: 57.06 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.007402, allocations: 39.78 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007403, allocations: 0 / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.484e-05/0.007497, allocations: 69.64 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.007512, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007518, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.007538, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.007633, allocations: 19.98 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.007639, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.007665, allocations: 12.02 kB / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007671, allocations: 0 / 353.3 MB, free: 3.523 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 (7): * Single equations (assignments): 7 * 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 7.534e-05/0.007746, allocations: 168.5 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.007767, allocations: 7.953 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.007901, allocations: 82.06 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007904, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.007909, allocations: 0 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007912, allocations: 288 / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.008149, allocations: 341.3 kB / 353.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008151, allocations: 0 / 353.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.008196, allocations: 19.98 kB / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008199, allocations: 0 / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.008208, allocations: 7.984 kB / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.00821, allocations: 0 / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008213, allocations: 0 / 353.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.008311, allocations: 223.8 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.008319, allocations: 3.953 kB / 354.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.008336, allocations: 11.92 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.47e-05/0.008371, allocations: 8 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.008417, allocations: 3.984 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.008422, allocations: 8 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.008461, allocations: 142.1 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008461, allocations: 0 / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.008643, allocations: 31.92 kB / 354.4 MB, free: 2.414 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 (7): * Single equations (assignments): 7 * 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.0008779/0.009521, allocations: 422.8 kB / 354.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.00965, allocations: 39.67 kB / 354.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009652, allocations: 3.938 kB / 354.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.009676, allocations: 19.69 kB / 354.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.009897, allocations: 35.83 kB / 354.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.01025, allocations: 190.9 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.039e-05/0.01028, allocations: 67.33 kB / 355.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.01033, allocations: 15.98 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.01037, allocations: 24.48 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01037, allocations: 0 / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Templates: time 0.003506/0.01387, allocations: 1.612 MB / 356.8 MB, free: 36 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.254672358278185]