Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.00158/0.00158, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001937/0.001937, allocations: 161 kB / 24.55 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.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.621 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.2848/0.2848, allocations: 32.81 MB / 294.3 MB, free: 1.293 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.573e-05, allocations: 2.312 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003277/0.003313, allocations: 1.77 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.00483, allocations: 1.013 MB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004936, allocations: 0 / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.005303, allocations: 47.69 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.005656, allocations: 107.5 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.005891, allocations: 87.59 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.006084, allocations: 99.69 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006197, allocations: 8 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.006303, allocations: 63.75 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.006384, allocations: 23.92 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.006402, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006506, allocations: 43.92 kB / 379.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.00657, allocations: 31.84 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.006618, allocations: 19.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.006834, allocations: 107.6 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006838, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006839, allocations: 4 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.006846, allocations: 4 kB / 379.5 MB, free: 1.152 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.0005687/0.007414, allocations: 483.5 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.007453, allocations: 8.031 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.007508, allocations: 20.84 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.007715, allocations: 161.3 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.007737, allocations: 4.375 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.007763, allocations: 384 / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.007902, allocations: 62.94 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.007917, allocations: 7.875 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.007927, allocations: 8 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007935, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.007969, allocations: 15.92 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.008302, allocations: 295.8 kB / 380.6 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.008429, allocations: 63.14 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.008459, allocations: 15.62 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.008477, allocations: 4 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.008583, allocations: 68.98 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.008584, allocations: 0 / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004155/0.009, allocations: 169.2 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.009035, allocations: 59.41 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.009205, allocations: 274.7 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.009219, allocations: 25.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.009286, allocations: 166.9 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.009312, allocations: 19.8 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.009352, allocations: 35.36 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.009472, allocations: 0.5001 MB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.0095, allocations: 15.98 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.009534, allocations: 31.36 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.009594, allocations: 59.25 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.009596, allocations: 384 / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000121/0.009717, allocations: 93.52 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.009731, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.009738, allocations: 7.984 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009756, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.00983, allocations: 12 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.009837, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.009867, allocations: 4 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.009876, allocations: 12.03 kB / 382.2 MB, free: 14.26 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 8.815e-05/0.009964, allocations: 163.7 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.009983, allocations: 23.91 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.01015, allocations: 115.2 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01015, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01015, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01016, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.01046, allocations: 412.9 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01046, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.01049, allocations: 15.97 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.0105, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01051, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01051, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01051, allocations: 3.984 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.01066, allocations: 263.4 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.01067, allocations: 11.91 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01069, allocations: 4 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.01073, allocations: 4 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.01077, allocations: 7.984 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.01078, allocations: 12 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01089, allocations: 196.5 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.01107, allocations: 27.92 kB / 383.4 MB, free: 12.94 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.0009179/0.01198, allocations: 436.4 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01211, allocations: 51.61 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01211, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.01215, allocations: 35.61 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01239, allocations: 35.88 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01276, allocations: 258.5 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.01281, allocations: 75.33 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.01285, allocations: 17.27 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.01288, allocations: 16.5 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01288, allocations: 0 / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Templates: time 0.004024/0.0169, allocations: 1.899 MB / 386.2 MB, free: 10.26 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.4265892198309302]