Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001536/0.001536, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001698/0.001698, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8779/0.8779, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2321/0.2321, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.856e-05/5.074e-05, allocations: 10.25 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003162/0.003213, allocations: 1.644 MB / 349.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.003843, allocations: 327.3 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.003924, allocations: 0 / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.004527, allocations: 455 kB / 350.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.004893, allocations: 259.4 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.005228, allocations: 103.7 kB / 350.4 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.005522, allocations: 163.6 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.005684, allocations: 16.17 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.005828, allocations: 123.7 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.006048, allocations: 235.7 kB / 351 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.006075, allocations: 4 kB / 351 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.006193, allocations: 31.98 kB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.006313, allocations: 83.64 kB / 351.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.006365, allocations: 39.73 kB / 351.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.00664, allocations: 199.1 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006644, allocations: 4 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.006645, allocations: 0 / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.006653, allocations: 0 / 351.3 MB, free: 6.102 MB / 282.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.000684/0.007337, allocations: 0.6854 MB / 352 MB, free: 5.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.007398, allocations: 12.03 kB / 352 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.007486, allocations: 48.61 kB / 352.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.007735, allocations: 237 kB / 352.3 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.007753, allocations: 384 / 352.3 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.007781, allocations: 4.375 kB / 352.3 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.007968, allocations: 70.86 kB / 352.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.007985, allocations: 4.188 kB / 352.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.008, allocations: 7.938 kB / 352.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.00801, allocations: 0 / 352.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.008058, allocations: 8 kB / 352.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.008551, allocations: 427.6 kB / 352.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.008671, allocations: 38.94 kB / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.008708, allocations: 23.7 kB / 352.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.008743, allocations: 0 / 352.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.008786, allocations: 37.39 kB / 352.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.008788, allocations: 4 kB / 352.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005895/0.009377, allocations: 204.9 kB / 353.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.009428, allocations: 51.41 kB / 353.2 MB, free: 4.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.009849, allocations: 0.6238 MB / 353.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.009868, allocations: 29.7 kB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01001, allocations: 282.7 kB / 354.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.01004, allocations: 19.92 kB / 354.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.01009, allocations: 27.36 kB / 354.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01021, allocations: 0.5586 MB / 354.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.01024, allocations: 7.984 kB / 354.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.01026, allocations: 8 kB / 354.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.01031, allocations: 35.62 kB / 354.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01032, allocations: 0 / 354.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.01045, allocations: 101.6 kB / 354.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01047, allocations: 4 kB / 354.9 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01047, allocations: 0 / 354.9 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.0105, allocations: 4 kB / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01062, allocations: 19.98 kB / 354.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01063, allocations: 0 / 354.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01066, allocations: 7.984 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01067, allocations: 4 kB / 354.9 MB, free: 2.328 MB / 282.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 9.288e-05/0.01076, allocations: 168.5 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.01081, allocations: 47.67 kB / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.01099, allocations: 109.5 kB / 355.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.011, allocations: 4 kB / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.011, allocations: 0 / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01101, allocations: 0 / 355.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.01138, allocations: 481.2 kB / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01138, allocations: 0 / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.01143, allocations: 12 kB / 355.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01144, allocations: 7.984 kB / 355.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01145, allocations: 3.938 kB / 355.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01145, allocations: 0 / 355.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01146, allocations: 4 kB / 355.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.01159, allocations: 255.5 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.01162, allocations: 35.72 kB / 356 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01164, allocations: 0 / 356 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.01169, allocations: 11.98 kB / 356 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.01175, allocations: 0 / 356 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.01175, allocations: 4 kB / 356 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002341/0.01199, allocations: 422.8 kB / 356.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01199, allocations: 4 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.0122, allocations: 27.94 kB / 356.4 MB, free: 0.6875 MB / 282.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.0009869/0.01319, allocations: 377.2 kB / 356.8 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.01334, allocations: 35.61 kB / 356.9 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01334, allocations: 0 / 356.9 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.01337, allocations: 27.83 kB / 356.9 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.01369, allocations: 27.36 kB / 356.9 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.01456, allocations: 0.5901 MB / 357.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01467, allocations: 119.2 kB / 357.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.01473, allocations: 15.97 kB / 357.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.01478, allocations: 16.5 kB / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01478, allocations: 0 / 357.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005691/0.02047, allocations: 1.479 MB / 359.1 MB, free: 14.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.6594537049531937]