Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001831/0.001831, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001939/0.001939, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.365/0.365, allocations: 34.27 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.118e-05, allocations: 5.969 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003377/0.003408, allocations: 1.674 MB / 379 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004653, allocations: 0.5647 MB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.004712, allocations: 4 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.004984, allocations: 55.73 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.00532, allocations: 87.55 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.005747, allocations: 175.5 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005938, allocations: 95.7 kB / 380 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006048, allocations: 20.2 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.006145, allocations: 39.84 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.006266, allocations: 43.88 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.006288, allocations: 4 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.006413, allocations: 51.92 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.006493, allocations: 23.91 kB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.006686, allocations: 15.94 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.006935, allocations: 111.6 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.006941, allocations: 3.984 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006942, allocations: 4 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.006948, allocations: 4 kB / 380.3 MB, free: 15.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006506/0.007599, allocations: 435.6 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.007639, allocations: 12.03 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.007705, allocations: 16.84 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.007935, allocations: 152.4 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.007947, allocations: 384 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.007975, allocations: 8.312 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.008154, allocations: 58.23 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.008167, allocations: 192 / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.008182, allocations: 12.12 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.008187, allocations: 0 / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.008313, allocations: 31.97 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.008853, allocations: 315.6 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.009116, allocations: 62.97 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.009184, allocations: 19.81 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.009202, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.009242, allocations: 45.42 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.009243, allocations: 4 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001151/0.01039, allocations: 289.2 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.01044, allocations: 51.41 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.01067, allocations: 230.8 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.0107, allocations: 37.64 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01081, allocations: 146.9 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.01087, allocations: 43.69 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.01093, allocations: 31.38 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002976/0.01123, allocations: 0.504 MB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01133, allocations: 27.98 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01143, allocations: 35.91 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01164, allocations: 71.66 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01164, allocations: 4 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003028/0.01194, allocations: 125.8 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01196, allocations: 5.875 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01197, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01198, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.01209, allocations: 23.92 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.0121, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.01215, allocations: 11.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.01216, allocations: 4 kB / 383.1 MB, free: 12.96 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 0.0001356/0.0123, allocations: 168.5 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.01234, allocations: 15.91 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.01272, allocations: 135 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01272, allocations: 7.938 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01273, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01273, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.01346, allocations: 468.5 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01347, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01357, allocations: 27.92 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01357, allocations: 0 / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01359, allocations: 8 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.01359, allocations: 3.938 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01359, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.01401, allocations: 291.1 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.01403, allocations: 12.02 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.01405, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.01413, allocations: 7.938 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.01418, allocations: 15.92 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.01419, allocations: 4 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.01433, allocations: 170.2 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01433, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.0146, allocations: 23.98 kB / 384.4 MB, free: 11.53 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.00347/0.01807, allocations: 497.9 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.01838, allocations: 87.58 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01838, allocations: 3.938 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01853, allocations: 63.72 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.01889, allocations: 35.88 kB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.01954, allocations: 280.4 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01966, allocations: 100.8 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.01976, allocations: 28.45 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.01982, allocations: 16.5 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01982, allocations: 0 / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005503/0.02532, allocations: 1.646 MB / 387.1 MB, free: 8.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03881518507842]