Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001795/0.001795, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002371/0.002371, allocations: 169.3 kB / 24.28 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3411/0.3411, allocations: 32.81 MB / 293.9 MB, free: 1.211 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.727e-05/3.919e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003768/0.003807, allocations: 1.611 MB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.005164, allocations: 0.5259 MB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.005238, allocations: 4 kB / 377.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.005483, allocations: 27.78 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.005831, allocations: 79.56 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.006147, allocations: 91.62 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.006332, allocations: 63.78 kB / 377.7 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.006435, allocations: 11.98 kB / 377.7 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.006519, allocations: 31.91 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.006584, allocations: 15.98 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.006602, allocations: 0 / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.006698, allocations: 35.98 kB / 377.8 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.006754, allocations: 19.86 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.006784, allocations: 7.938 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006997, allocations: 79.72 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006999, allocations: 0 / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007, allocations: 0 / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.007006, allocations: 0 / 377.9 MB, free: 2.367 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.0006049/0.00761, allocations: 411.8 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007649, allocations: 8.031 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.007706, allocations: 16.83 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.007923, allocations: 148.3 kB / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.007935, allocations: 384 / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.007959, allocations: 4.375 kB / 378.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.008092, allocations: 42.25 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.008105, allocations: 192 / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.008117, allocations: 4.125 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.008121, allocations: 0 / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.008218, allocations: 19.98 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.008644, allocations: 279.8 kB / 378.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.008891, allocations: 50.98 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.008942, allocations: 19.69 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.008964, allocations: 3.938 kB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.009005, allocations: 41.47 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.009006, allocations: 0 / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005925/0.009598, allocations: 133.4 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.009654, allocations: 51.41 kB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.009878, allocations: 209.9 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.009902, allocations: 25.7 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01, allocations: 146.9 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.01004, allocations: 19.83 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.0101, allocations: 23.38 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000298/0.0104, allocations: 0.4962 MB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.01046, allocations: 8 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.01052, allocations: 19.92 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.01066, allocations: 43.67 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01066, allocations: 0 / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001809/0.01084, allocations: 81.75 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01085, allocations: 8 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01086, allocations: 4.062 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01088, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.01094, allocations: 12 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01095, allocations: 0 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.01099, allocations: 11.88 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.011, allocations: 7.938 kB / 380.2 MB, free: 15.85 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 (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.0001242/0.01113, allocations: 160.6 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01116, allocations: 11.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.01139, allocations: 86.14 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01139, allocations: 0 / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.0114, allocations: 3.984 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0114, allocations: 0 / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.01184, allocations: 349.3 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01185, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.0119, allocations: 8 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.0119, allocations: 3.984 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01191, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01192, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01192, allocations: 4 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.01219, allocations: 231.8 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.0122, allocations: 3.953 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.01221, allocations: 0 / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.01227, allocations: 4 kB / 381 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.01231, allocations: 4.172 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01232, allocations: 8 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.01245, allocations: 157.8 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01245, allocations: 0 / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01267, allocations: 8 kB / 381.2 MB, free: 14.75 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.002863/0.01554, allocations: 444.5 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.01574, allocations: 47.66 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01574, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.01583, allocations: 31.61 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01614, allocations: 23.92 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.01661, allocations: 178.6 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.0167, allocations: 79.33 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.026e-05/0.01675, allocations: 16.22 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.0168, allocations: 12.5 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0168, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004902/0.0217, allocations: 1.157 MB / 383.2 MB, free: 12.9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.756277965032496]