Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.001353/0.001353, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001066/0.001066, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.134/1.134, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2903/0.2903, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.065e-05, allocations: 6.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003551/0.003581, allocations: 1.704 MB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.005318, allocations: 1.282 MB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.005387, allocations: 4 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.005618, allocations: 35.72 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.00598, allocations: 79.55 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.006283, allocations: 127.6 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.006446, allocations: 75.77 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.006548, allocations: 15.98 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.00663, allocations: 43.83 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.006735, allocations: 23.98 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.006752, allocations: 4 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.006921, allocations: 95.75 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.006992, allocations: 23.91 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.007022, allocations: 15.98 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.007284, allocations: 143.5 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007287, allocations: 0 / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007288, allocations: 0 / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007293, allocations: 0 / 381.7 MB, free: 15.28 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.0005157/0.007809, allocations: 431.9 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.007859, allocations: 12.03 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.00792, allocations: 16.89 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.008111, allocations: 135.9 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.008125, allocations: 4.375 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.00815, allocations: 384 / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.008338, allocations: 112 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.008349, allocations: 192 / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.008364, allocations: 8.062 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.008373, allocations: 0 / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.008423, allocations: 23.89 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.008847, allocations: 283.7 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.008933, allocations: 39.06 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.008964, allocations: 15.62 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.008988, allocations: 8.078 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.009014, allocations: 37.33 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.009015, allocations: 0 / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000477/0.009492, allocations: 129.4 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.009543, allocations: 77.11 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.009716, allocations: 199.6 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.009732, allocations: 29.7 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.009809, allocations: 142.8 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.00984, allocations: 23.84 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.009887, allocations: 27.38 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01004, allocations: 0.4884 MB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.01008, allocations: 8 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.01013, allocations: 57.12 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.0102, allocations: 31.62 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.0102, allocations: 8 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001338/0.01034, allocations: 69.58 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01036, allocations: 8.031 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01036, allocations: 0 / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.01038, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01049, allocations: 15.98 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.0105, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.01054, allocations: 7.984 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.01055, allocations: 0 / 384.1 MB, free: 12.62 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 (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 0.0001/0.01065, allocations: 164.5 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.01069, allocations: 11.91 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.01088, allocations: 86.33 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01088, allocations: 4 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01088, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01089, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.01126, allocations: 349.2 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01126, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.01132, allocations: 15.98 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.01132, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01133, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01134, allocations: 4.469 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01134, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01151, allocations: 231.8 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.01152, allocations: 3.953 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01154, allocations: 8 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.01168, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.01175, allocations: 3.984 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01176, allocations: 7.938 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.01186, allocations: 153 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01186, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.01221, allocations: 39.88 kB / 385.2 MB, free: 11.48 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 (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.001169/0.01338, allocations: 487.7 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.01355, allocations: 47.64 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01356, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.01359, allocations: 31.61 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01385, allocations: 30.92 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.01429, allocations: 190.4 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.01434, allocations: 59.34 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.01439, allocations: 11.98 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.01444, allocations: 20.5 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.894e-06/0.01444, allocations: 4 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.004227/0.01867, allocations: 1.971 MB / 388 MB, free: 8.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.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.3048875748645514]