Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001613/0.001613, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001935/0.001935, allocations: 161.7 kB / 24.27 MB, free: 172 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3463/0.3463, allocations: 32.79 MB / 293.9 MB, free: 1.188 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.859e-05, allocations: 5.547 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003225/0.003253, allocations: 1.603 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004411, allocations: 0.5258 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.004465, allocations: 4 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.004687, allocations: 23.8 kB / 377.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.004982, allocations: 83.55 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.005265, allocations: 91.69 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.005429, allocations: 71.72 kB / 377.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.005516, allocations: 7.984 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.005587, allocations: 31.91 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.005645, allocations: 11.98 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.005664, allocations: 4 kB / 377.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.005749, allocations: 31.92 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.005806, allocations: 12 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.00585, allocations: 19.91 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.006063, allocations: 83.61 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006065, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006066, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006071, allocations: 4 kB / 377.9 MB, free: 2.328 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005334/0.006605, allocations: 309.8 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.006642, allocations: 8.031 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.006705, allocations: 16.89 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.006922, allocations: 141.6 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.006932, allocations: 4.375 kB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.006955, allocations: 384 / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.007102, allocations: 50.19 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.007114, allocations: 192 / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.007134, allocations: 4.125 kB / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007139, allocations: 0 / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.00724, allocations: 27.97 kB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.00761, allocations: 208.6 kB / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.007843, allocations: 46.48 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.007899, allocations: 20.86 kB / 378.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.007924, allocations: 3.938 kB / 378.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.007964, allocations: 34.56 kB / 378.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.007965, allocations: 0 / 378.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006208/0.008586, allocations: 145.5 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.00864, allocations: 51.41 kB / 378.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.008838, allocations: 169.8 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.008858, allocations: 29.7 kB / 379.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.008936, allocations: 92.14 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.008961, allocations: 15.89 kB / 379.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.009005, allocations: 17.72 kB / 379.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.0092, allocations: 326.8 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.009272, allocations: 15.98 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.009335, allocations: 19.98 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.009474, allocations: 48.77 kB / 379.6 MB, free: 400 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.009474, allocations: 4 kB / 379.6 MB, free: 396 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001987/0.009673, allocations: 81.81 kB / 379.7 MB, free: 308 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.009688, allocations: 8 kB / 379.7 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.009696, allocations: 4 kB / 379.7 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.009714, allocations: 0 / 379.7 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.009785, allocations: 11.98 kB / 379.7 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009789, allocations: 4 kB / 379.7 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.009827, allocations: 0 / 379.7 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.009835, allocations: 8 kB / 379.8 MB, free: 272 kB / 346.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 (5): * Single equations (assignments): 5 * 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.0001146/0.00995, allocations: 125.8 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.009997, allocations: 15.91 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.01025, allocations: 90.06 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01025, allocations: 0 / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01025, allocations: 0 / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.01025, allocations: 0 / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.01073, allocations: 294.2 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01073, allocations: 7.984 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.01079, allocations: 15.94 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01079, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.0108, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.0108, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.0108, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01108, allocations: 183.7 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01109, allocations: 3.953 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01111, allocations: 4 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.01118, allocations: 12.16 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.01122, allocations: 4 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.01123, allocations: 4 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01135, allocations: 134.2 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01135, allocations: 0 / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000249/0.0116, allocations: 23.86 kB / 380.7 MB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.001924/0.01353, allocations: 421.4 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01373, allocations: 47.97 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01374, allocations: 0 / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.01382, allocations: 27.92 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.01423, allocations: 19.92 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.01472, allocations: 200.8 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.01482, allocations: 79.33 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01488, allocations: 16.22 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.01491, allocations: 12.5 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01491, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004253/0.01917, allocations: 1.162 MB / 382.6 MB, free: 13.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 4.882798995939083]