Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001254/0.001254, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00139/0.00139, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.915/0.915, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1437/0.1437, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.321e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.005968/0.005981, allocations: 1.638 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006881/0.00667, allocations: 0.5414 MB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.006727, allocations: 0 / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.00695, allocations: 83.69 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.007176, allocations: 103.5 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.007396, allocations: 111.6 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.007519, allocations: 83.77 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.007598, allocations: 15.97 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.007656, allocations: 47.91 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.007743, allocations: 51.86 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.007755, allocations: 4 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.007831, allocations: 55.84 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.007868, allocations: 23.92 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.007889, allocations: 7.938 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.008015, allocations: 99.59 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008017, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.008018, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.008021, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.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.0002781/0.008299, allocations: 443.9 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.008327, allocations: 8.031 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.008359, allocations: 16.84 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.008462, allocations: 149.1 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.00847, allocations: 4.375 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.008485, allocations: 384 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/0.008558, allocations: 58.95 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.008567, allocations: 192 / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.008573, allocations: 4.125 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.008579, allocations: 3.984 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.008603, allocations: 19.97 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.01182, allocations: 268.3 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.01187, allocations: 39.05 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.01189, allocations: 15.69 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.0119, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.01191, allocations: 37.42 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.01191, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004127/0.01232, allocations: 165.2 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.01234, allocations: 55.41 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.01243, allocations: 230.8 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.01244, allocations: 25.7 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.01248, allocations: 166.8 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.0125, allocations: 27.73 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.01253, allocations: 27.38 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.01258, allocations: 0.5001 MB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.01259, allocations: 7.984 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.01261, allocations: 8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.01265, allocations: 31.67 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01265, allocations: 11.92 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.85e-05/0.01273, allocations: 69.58 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.01274, allocations: 4 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01274, allocations: 0 / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.01275, allocations: 0 / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.01281, allocations: 12 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.01281, allocations: 4 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.01283, allocations: 3.984 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01284, allocations: 8 kB / 384.6 MB, free: 17.92 MB / 314.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 (8): * Single equations (assignments): 8 * 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 4.15e-05/0.01288, allocations: 156.5 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01291, allocations: 19.91 kB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.01302, allocations: 87.38 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01302, allocations: 3.984 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01302, allocations: 0 / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01303, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.01326, allocations: 345.6 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01326, allocations: 0 / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.0133, allocations: 15.98 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0133, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.01331, allocations: 4 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01331, allocations: 4.031 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01331, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.0134, allocations: 247.4 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.01341, allocations: 11.91 kB / 385.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01342, allocations: 3.938 kB / 385.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.01347, allocations: 8.422 kB / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.01349, allocations: 3.984 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.0135, allocations: 4 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.01354, allocations: 163.1 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01354, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.01377, allocations: 31.92 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.003937/0.01771, allocations: 433.8 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.0178, allocations: 39.66 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0178, allocations: 0 / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.01783, allocations: 27.61 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01808, allocations: 23.03 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.01835, allocations: 236.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.01838, allocations: 75.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.01841, allocations: 16.72 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.01846, allocations: 82.19 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01847, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.006057/0.02452, allocations: 1.559 MB / 388.1 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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: 2.8898712880909443]