Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.002006/0.002006, allocations: 95.61 kB / 20.96 MB, free: 3.449 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.002097/0.002097, allocations: 161.3 kB / 24.27 MB, free: 144 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3798/0.3798, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.727e-05, allocations: 6.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003333/0.00336, allocations: 1.653 MB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004595, allocations: 0.5453 MB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.004646, allocations: 0 / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.00536, allocations: 451.1 kB / 380 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.005933, allocations: 295.2 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.006294, allocations: 131.5 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.006581, allocations: 175.6 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.006675, allocations: 11.98 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.006851, allocations: 115.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.007178, allocations: 243.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.007206, allocations: 4 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.007321, allocations: 31.97 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.007452, allocations: 83.72 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.007513, allocations: 39.73 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.007912, allocations: 239 kB / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.007915, allocations: 0 / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007916, allocations: 0 / 381.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.007924, allocations: 3.984 kB / 381.3 MB, free: 14.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009782/0.008903, allocations: 0.7123 MB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.008942, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.009029, allocations: 44.66 kB / 382.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.009373, allocations: 248.8 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.009388, allocations: 4.375 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.009411, allocations: 4.375 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.00955, allocations: 50.19 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.009563, allocations: 192 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.009577, allocations: 4.125 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.009581, allocations: 0 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.00967, allocations: 27.98 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.01035, allocations: 463.7 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.0106, allocations: 54.92 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.01066, allocations: 19.69 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.01068, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.01071, allocations: 37.39 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.01071, allocations: 0 / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006718/0.01138, allocations: 220.7 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.01144, allocations: 59.41 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.01225, allocations: 0.6707 MB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.01227, allocations: 25.7 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.01257, allocations: 302.8 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.0126, allocations: 19.84 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.01265, allocations: 19.38 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003706/0.01302, allocations: 0.5743 MB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.0131, allocations: 12 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.01315, allocations: 19.92 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.01328, allocations: 47.8 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01328, allocations: 0 / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.0135, allocations: 117.4 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01352, allocations: 8 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01352, allocations: 0 / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01354, allocations: 0 / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.0136, allocations: 8 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01361, allocations: 7.922 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.01366, allocations: 4 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.01366, allocations: 3.938 kB / 385.1 MB, free: 10.97 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.0001455/0.01381, allocations: 168.5 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.01388, allocations: 43.72 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.01417, allocations: 113.2 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01417, allocations: 0 / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01417, allocations: 0 / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01417, allocations: 0 / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.01491, allocations: 0.5207 MB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01491, allocations: 0 / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.01496, allocations: 15.98 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01496, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01498, allocations: 4 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01498, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01498, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.01529, allocations: 267.7 kB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.01535, allocations: 31.72 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.01538, allocations: 4.062 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.01545, allocations: 8 kB / 386.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.01549, allocations: 3.984 kB / 386.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.0155, allocations: 8 kB / 386.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005089/0.016, allocations: 438.8 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.016, allocations: 0 / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01625, allocations: 24 kB / 386.7 MB, free: 9.262 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.00289/0.01914, allocations: 446.5 kB / 387.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01933, allocations: 47.67 kB / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01934, allocations: 0 / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.01942, allocations: 35.73 kB / 387.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.01979, allocations: 33.95 kB / 387.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.02076, allocations: 0.5783 MB / 387.8 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.02101, allocations: 204 kB / 388 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.02106, allocations: 15.97 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.02109, allocations: 12.5 kB / 388 MB, free: 8.027 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02109, allocations: 0 / 388 MB, free: 8.027 MB / 362.7 MB Notification: Performance of Templates: time 0.005397/0.02649, allocations: 1.326 MB / 389.4 MB, free: 6.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.9599099369952455]