Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001121/0.001121, 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.001665/0.001665, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.055/1.055, 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.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.2756/0.2756, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.793e-05, allocations: 6.312 kB / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002066/0.002084, allocations: 1.762 MB / 377.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003297, allocations: 1.005 MB / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.003379, allocations: 0 / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.003639, allocations: 43.69 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.003924, allocations: 91.55 kB / 379 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.004111, allocations: 75.67 kB / 379.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.004274, allocations: 111.5 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.00437, allocations: 8 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004474, allocations: 59.77 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.004542, allocations: 31.91 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004558, allocations: 4 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.00464, allocations: 43.92 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.004691, allocations: 23.91 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.004731, allocations: 15.94 kB / 379.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.004903, allocations: 99.64 kB / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004905, allocations: 3.938 kB / 379.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004906, allocations: 0 / 379.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004909, allocations: 0 / 379.5 MB, free: 1.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004691/0.005379, allocations: 439.9 kB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.005421, allocations: 16.03 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.005483, allocations: 12.88 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.005662, allocations: 152.4 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.005681, allocations: 4.375 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.0057, allocations: 4.375 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.005821, allocations: 62.94 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005831, allocations: 3.938 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.005839, allocations: 0 / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.005847, allocations: 0 / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.496e-05/0.005881, allocations: 11.98 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.006167, allocations: 283.8 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.006275, allocations: 55.16 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.006307, allocations: 23.62 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.00632, allocations: 0 / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.703e-05/0.006417, allocations: 68.98 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.006418, allocations: 0 / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003762/0.006794, allocations: 165.3 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.006824, allocations: 51.41 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.006962, allocations: 222.6 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.006979, allocations: 37.7 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.007033, allocations: 146.9 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.007058, allocations: 27.73 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.007093, allocations: 35.36 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.007221, allocations: 0.4923 MB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.007253, allocations: 12 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.007299, allocations: 35.34 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.519e-05/0.007374, allocations: 59.23 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007375, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.007512, allocations: 89.59 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007525, allocations: 4 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.00753, allocations: 3.938 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007543, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.007624, allocations: 19.98 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.007629, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.007667, allocations: 4 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.007676, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.1e-05/0.007767, allocations: 160.5 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.00779, allocations: 15.95 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.00797, allocations: 111.2 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007972, allocations: 4 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007976, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007979, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.008321, allocations: 396.9 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008323, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.008356, allocations: 8 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008359, allocations: 3.984 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.008369, allocations: 7.938 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.00837, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.008372, allocations: 4.031 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.008554, allocations: 255.4 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.008571, allocations: 19.89 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.008592, allocations: 4 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.008654, allocations: 0 / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.008689, allocations: 7.984 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.008706, allocations: 8.375 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.008793, allocations: 167.8 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008793, allocations: 0 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.009051, allocations: 27.88 kB / 383.1 MB, free: 13.53 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001079/0.01013, allocations: 441.5 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01026, allocations: 51.61 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01026, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/0.01031, allocations: 31.61 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01061, allocations: 27.97 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.01101, allocations: 218.4 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.01106, allocations: 71.34 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.01111, allocations: 17.27 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.01115, allocations: 16.5 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01115, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004307/0.01545, allocations: 1.867 MB / 385.9 MB, free: 10.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.239367663860321]