Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001112/0.001112, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0011/0.0011, allocations: 161 kB / 24.56 MB, free: 20 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.9873/0.9873, allocations: 177.2 MB / 205 MB, free: 5.293 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.267/0.267, allocations: 34.27 MB / 295.7 MB, free: 0.7305 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.348e-05, allocations: 2.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003827/0.00386, allocations: 1.7 MB / 379.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.00499, allocations: 0.5803 MB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.005068, allocations: 0 / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.00559, allocations: 459.1 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.006057, allocations: 295.1 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.006464, allocations: 175.5 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.006768, allocations: 183.6 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.006917, allocations: 11.98 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.007081, allocations: 119.8 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.007297, allocations: 247.6 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.00732, allocations: 4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.007421, allocations: 39.92 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.00753, allocations: 87.64 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.007583, allocations: 39.73 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.007846, allocations: 203.1 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.007851, allocations: 0 / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007852, allocations: 0 / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.007858, allocations: 0 / 382.2 MB, free: 14.53 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.000592/0.00845, allocations: 0.7048 MB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.008487, allocations: 8.031 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.008559, allocations: 44.66 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.008774, allocations: 252.8 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.008786, allocations: 8.359 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.008815, allocations: 4.375 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.008959, allocations: 58.94 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.008969, allocations: 192 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00898, allocations: 8.125 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.008989, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.009027, allocations: 11.98 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.009521, allocations: 443.5 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.009618, allocations: 35.05 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.00965, allocations: 19.62 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.009678, allocations: 4 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.009702, allocations: 33.39 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.009703, allocations: 0 / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004976/0.0102, allocations: 216.8 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.01023, allocations: 55.41 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.01066, allocations: 0.6316 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.01067, allocations: 29.69 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.01083, allocations: 286.8 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.01086, allocations: 27.86 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.0109, allocations: 27.36 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.01106, allocations: 0.5547 MB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.01108, allocations: 11.98 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.0111, allocations: 8 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.01116, allocations: 39.61 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01116, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.01128, allocations: 101.4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01129, allocations: 4 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.0113, allocations: 8 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01132, allocations: 4.219 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.01141, allocations: 19.92 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01142, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.01145, allocations: 8 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.01146, allocations: 4 kB / 385.8 MB, free: 10.68 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 7.893e-05/0.01154, allocations: 156.5 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.01158, allocations: 55.66 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.01175, allocations: 113.5 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01175, allocations: 0 / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01176, allocations: 0 / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01176, allocations: 4 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.01217, allocations: 481.2 kB / 386.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01217, allocations: 0 / 386.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.01223, allocations: 19.98 kB / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01224, allocations: 0 / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01224, allocations: 0 / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01225, allocations: 0 / 386.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01225, allocations: 4.469 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.01242, allocations: 271.5 kB / 386.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.01244, allocations: 35.72 kB / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01246, allocations: 0 / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.01251, allocations: 4 kB / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.01255, allocations: 3.984 kB / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01256, allocations: 8 kB / 386.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.01283, allocations: 426.8 kB / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01283, allocations: 0 / 387.3 MB, free: 9.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.01301, allocations: 31.94 kB / 387.4 MB, free: 9.023 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.0008327/0.01384, allocations: 382.2 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.01396, allocations: 47.59 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01396, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.01399, allocations: 31.67 kB / 387.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01425, allocations: 34 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.01494, allocations: 0.5965 MB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.564e-05/0.01502, allocations: 123.2 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01507, allocations: 21.02 kB / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.0151, allocations: 12.5 kB / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.0151, allocations: 4 kB / 388.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of Templates: time 0.004193/0.0193, allocations: 1.532 MB / 390.1 MB, free: 6.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.2872475241310894]