Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001188/0.001188, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.00135/0.00135, allocations: 165.5 kB / 24.99 MB, free: 9.281 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2648/0.2648, allocations: 34.26 MB / 296 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.287e-05, allocations: 2.312 kB / 378.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002406/0.002439, allocations: 1.7 MB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003692, allocations: 1.286 MB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.003742, allocations: 0 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.003925, allocations: 23.78 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004189, allocations: 87.55 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.004408, allocations: 131.6 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.004541, allocations: 75.78 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.004628, allocations: 11.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.004696, allocations: 39.89 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.00479, allocations: 31.91 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.004806, allocations: 4 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.004934, allocations: 91.83 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.004992, allocations: 23.91 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.005021, allocations: 19.92 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.005228, allocations: 139.5 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005232, allocations: 0 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005232, allocations: 0 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005237, allocations: 0 / 381.7 MB, free: 15.27 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.0004511/0.005688, allocations: 431.9 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.005728, allocations: 12.03 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.005777, allocations: 8.891 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.005921, allocations: 140.4 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.005931, allocations: 12.36 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005952, allocations: 4.375 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.006101, allocations: 108 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006111, allocations: 192 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006124, allocations: 8.125 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.006132, allocations: 4 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.006166, allocations: 7.984 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.006453, allocations: 287.6 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.006525, allocations: 39.06 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.00655, allocations: 19.62 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.006568, allocations: 4.078 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.006595, allocations: 41.39 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.006596, allocations: 0 / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000385/0.006981, allocations: 121.4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.00702, allocations: 77.11 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.007279, allocations: 203.9 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.007291, allocations: 29.7 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.007338, allocations: 142.8 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.007358, allocations: 23.84 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.007391, allocations: 27.38 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.007509, allocations: 0.4884 MB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.007534, allocations: 12.06 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.00758, allocations: 61.06 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.007627, allocations: 35.62 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007628, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.157e-05/0.007719, allocations: 69.58 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007733, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007736, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007748, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.007832, allocations: 20.02 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007837, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.007866, allocations: 7.984 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007874, allocations: 4 kB / 384.1 MB, free: 12.61 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 (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 6.742e-05/0.007941, allocations: 160.5 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.007965, allocations: 15.91 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.008099, allocations: 82.33 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008101, allocations: 0 / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.008104, allocations: 0 / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008107, allocations: 4 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.008361, allocations: 341.4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008363, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.008406, allocations: 15.98 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.008408, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.008418, allocations: 7.938 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008419, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.00842, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.008545, allocations: 228.2 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.008555, allocations: 7.953 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.00857, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.008611, allocations: 8 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.008647, allocations: 8.266 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008653, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.108e-05/0.008714, allocations: 149 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008714, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.008918, allocations: 47.81 kB / 385.2 MB, free: 11.46 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 (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.001119/0.01004, allocations: 481.9 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.01016, allocations: 43.66 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01016, allocations: 0 / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.0102, allocations: 39.75 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01042, allocations: 27.52 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.01081, allocations: 194.4 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01085, allocations: 63.34 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.0109, allocations: 7.984 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.01094, allocations: 20.5 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01094, allocations: 0 / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004167/0.0151, allocations: 1.967 MB / 388 MB, free: 8.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.2602781371679157]