Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001393/0.001393, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001569/0.001569, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9552/0.9552, allocations: 177.1 MB / 205 MB, free: 5.617 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.2728/0.2728, allocations: 32.8 MB / 294.3 MB, free: 1.219 MB / 266.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 4 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.794e-05, allocations: 6.25 kB / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002645/0.002673, allocations: 1.717 MB / 377.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008372/0.00351, allocations: 0.5491 MB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.003572, allocations: 4 kB / 378.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.003863, allocations: 75.7 kB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.004191, allocations: 99.52 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.004472, allocations: 135.6 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004634, allocations: 91.73 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004738, allocations: 12.22 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.004813, allocations: 51.83 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.004916, allocations: 55.86 kB / 378.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004932, allocations: 4 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.005024, allocations: 47.92 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-05/0.005099, allocations: 27.92 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.005131, allocations: 19.91 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.005309, allocations: 99.59 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005312, allocations: 0 / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005312, allocations: 0 / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005317, allocations: 0 / 379 MB, free: 1.609 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004694/0.005786, allocations: 451.9 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.005826, allocations: 12.03 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.005879, allocations: 16.84 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.006021, allocations: 153 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.006031, allocations: 4.375 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.006052, allocations: 4.375 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006177, allocations: 70.88 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.006189, allocations: 8.141 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.006199, allocations: 4.125 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.006206, allocations: 0 / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.006243, allocations: 15.98 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.006531, allocations: 295.7 kB / 380 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.006698, allocations: 58.92 kB / 380.1 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.006723, allocations: 11.69 kB / 380.1 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.006742, allocations: 3.984 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.006764, allocations: 41.52 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.006765, allocations: 8 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005776/0.007343, allocations: 233.7 kB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.007376, allocations: 59.39 kB / 380.4 MB, free: 40 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.007516, allocations: 230.4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.007526, allocations: 33.7 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.007578, allocations: 150.9 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.007608, allocations: 47.58 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.007641, allocations: 27.38 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.007746, allocations: 0.504 MB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.007775, allocations: 16.05 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.007802, allocations: 19.98 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.007861, allocations: 47.62 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007862, allocations: 3.938 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001042/0.007966, allocations: 89.62 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007977, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.007981, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.007994, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.008067, allocations: 27.98 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008072, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.008098, allocations: 7.953 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.008105, allocations: 4 kB / 381.6 MB, free: 14.78 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 (11): * Single equations (assignments): 11 * 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.011e-05/0.008175, allocations: 172.4 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.008196, allocations: 11.95 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.008347, allocations: 111.5 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.00835, allocations: 3.984 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008353, allocations: 4 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008356, allocations: 0 / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.008671, allocations: 420.5 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.008674, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.008726, allocations: 19.98 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.008731, allocations: 4 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008739, allocations: 4 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.008744, allocations: 7.875 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008746, allocations: 4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.008898, allocations: 267.2 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.008907, allocations: 7.953 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.008921, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.008967, allocations: 11.92 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.009005, allocations: 11.92 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.00901, allocations: 4 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.009082, allocations: 171.2 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009082, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.009258, allocations: 27.94 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008621/0.01012, allocations: 434.4 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01025, allocations: 63.53 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01025, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.01029, allocations: 39.61 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.0105, allocations: 26.94 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.01089, allocations: 269.1 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01093, allocations: 71.41 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.01098, allocations: 24.47 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.01101, allocations: 20.5 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01101, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.003547/0.01456, allocations: 1.694 MB / 385.5 MB, free: 10.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.055798528250307]