Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001172/0.001172, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001085/0.001085, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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 1.083/1.083, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1467/0.1467, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.724e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002041/0.002068, allocations: 1.649 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.002735, allocations: 359.2 kB / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.002829, allocations: 0 / 349.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.003474, allocations: 455.1 kB / 350.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.003838, allocations: 259.4 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.004203, allocations: 151.6 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.004402, allocations: 179.6 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004509, allocations: 7.984 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.004608, allocations: 119.8 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.004769, allocations: 235.6 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.004792, allocations: 4 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.004869, allocations: 35.92 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.004946, allocations: 87.7 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.004982, allocations: 43.73 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.005183, allocations: 195.2 kB / 351.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005186, allocations: 4 kB / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005186, allocations: 0 / 351.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005191, allocations: 0 / 351.4 MB, free: 5.676 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.0004894/0.00568, allocations: 0.6931 MB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.005721, allocations: 8.031 kB / 352.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.005784, allocations: 44.66 kB / 352.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005954, allocations: 240.9 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.005967, allocations: 8.375 kB / 352.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.005998, allocations: 12.27 kB / 352.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006129, allocations: 62.94 kB / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.006142, allocations: 192 / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006153, allocations: 4.125 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.006162, allocations: 0 / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.006199, allocations: 11.98 kB / 352.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.006622, allocations: 427.6 kB / 352.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.006711, allocations: 39 kB / 352.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.00674, allocations: 19.7 kB / 353 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.006765, allocations: 11.98 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.006786, allocations: 33.39 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.006788, allocations: 0 / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004741/0.007262, allocations: 208.8 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.007292, allocations: 55.39 kB / 353.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.007627, allocations: 0.6238 MB / 353.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.007634, allocations: 29.7 kB / 353.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.007737, allocations: 278.8 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.007759, allocations: 31.73 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.007787, allocations: 23.38 kB / 354.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.007877, allocations: 0.5587 MB / 354.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.007898, allocations: 4 kB / 354.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.007924, allocations: 15.94 kB / 354.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.007968, allocations: 31.84 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007969, allocations: 4 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.558e-05/0.008065, allocations: 105.3 kB / 355 MB, free: 1.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.00808, allocations: 7.984 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008085, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.008099, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.008183, allocations: 15.94 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.00819, allocations: 8 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.008219, allocations: 3.984 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.008224, allocations: 4 kB / 355 MB, free: 1.875 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 5.791e-05/0.008282, allocations: 160.5 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.008311, allocations: 43.72 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.008435, allocations: 113.5 kB / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008438, allocations: 0 / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008442, allocations: 0 / 355.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008446, allocations: 4 kB / 355.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.008726, allocations: 485.2 kB / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008727, allocations: 4 kB / 355.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.008766, allocations: 15.98 kB / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008769, allocations: 0 / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008777, allocations: 0 / 355.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008779, allocations: 4 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00878, allocations: 0 / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.008882, allocations: 255.5 kB / 356.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.0089, allocations: 35.72 kB / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.008916, allocations: 3.984 kB / 356.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.008956, allocations: 8 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.008991, allocations: 11.98 kB / 356.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.008994, allocations: 0 / 356.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.00917, allocations: 426.8 kB / 356.5 MB, free: 268 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00917, allocations: 0 / 356.5 MB, free: 268 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.009333, allocations: 27.94 kB / 356.6 MB, free: 240 kB / 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.0007493/0.01008, allocations: 383.2 kB / 356.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01019, allocations: 39.52 kB / 357 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01019, allocations: 0 / 357 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.01023, allocations: 31.83 kB / 357 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01047, allocations: 35.14 kB / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.0111, allocations: 0.5785 MB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.317e-05/0.01118, allocations: 131.2 kB / 357.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.01123, allocations: 19.97 kB / 357.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.01126, allocations: 16.5 kB / 357.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01126, allocations: 0 / 357.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.003991/0.01525, allocations: 1.602 MB / 359.4 MB, free: 13.45 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.196105270180851]