Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001579/0.001579, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001792/0.001792, allocations: 161 kB / 24.56 MB, free: 20 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2608/0.2608, allocations: 32.81 MB / 294.3 MB, free: 1.25 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.369e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003526/0.00356, allocations: 1.723 MB / 377.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004664, allocations: 0.5686 MB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.004749, allocations: 0 / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.00512, allocations: 83.62 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.005534, allocations: 107.5 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.006029, allocations: 171.5 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.006242, allocations: 95.73 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.006372, allocations: 24.16 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.815e-05/0.00647, allocations: 51.89 kB / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.006593, allocations: 55.86 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.006616, allocations: 4 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.006736, allocations: 47.92 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.006823, allocations: 35.89 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.006863, allocations: 15.88 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.007104, allocations: 99.66 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007109, allocations: 0 / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00711, allocations: 0 / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007116, allocations: 0 / 379.1 MB, free: 1.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005644/0.00768, allocations: 459.8 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.007727, allocations: 12.03 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.007787, allocations: 16.78 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.008274, allocations: 156.9 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008287, allocations: 384 / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.008324, allocations: 8.375 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.008501, allocations: 66.94 kB / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.008514, allocations: 192 / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.008528, allocations: 4.125 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.008538, allocations: 3.984 kB / 379.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.008593, allocations: 19.92 kB / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.009072, allocations: 315.6 kB / 380.1 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.009299, allocations: 55.02 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.009335, allocations: 11.69 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.00936, allocations: 4 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.009388, allocations: 37.38 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.009389, allocations: 0 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008928/0.01028, allocations: 245.7 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.01034, allocations: 55.39 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.01054, allocations: 229.9 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.01056, allocations: 37.64 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.01064, allocations: 154.8 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.01068, allocations: 43.67 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.01074, allocations: 31.38 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.01091, allocations: 0.5039 MB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.01095, allocations: 16 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.01099, allocations: 15.98 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.01108, allocations: 43.69 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01108, allocations: 0 / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001708/0.01125, allocations: 105.5 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01127, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01128, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.0113, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.0114, allocations: 23.98 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.01141, allocations: 0 / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.01145, allocations: 12 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.01146, allocations: 7.984 kB / 381.8 MB, free: 14.7 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 (11): * Single equations (assignments): 11 * 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.385e-05/0.01155, allocations: 160.5 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.01159, allocations: 15.91 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.01184, allocations: 115.4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01184, allocations: 7.938 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01185, allocations: 0 / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01185, allocations: 0 / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.01236, allocations: 424.6 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01237, allocations: 4.031 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.01245, allocations: 23.98 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01246, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01247, allocations: 4 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.01247, allocations: 7.922 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01248, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01271, allocations: 259.2 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.01274, allocations: 15.89 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.01276, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.01284, allocations: 12.12 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.01289, allocations: 15.92 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.0129, allocations: 8 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.01302, allocations: 172.1 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01302, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.01333, allocations: 27.94 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001289/0.01462, allocations: 430.1 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.01479, allocations: 63.59 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.0148, allocations: 4 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.01486, allocations: 35.61 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.0152, allocations: 23.98 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.0158, allocations: 286.5 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.17e-05/0.01586, allocations: 75.33 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.01594, allocations: 32.58 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.01599, allocations: 16.5 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01599, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004745/0.02074, allocations: 1.678 MB / 385.6 MB, free: 10.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.401052687317133]