Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.00193/0.00193, allocations: 99.59 kB / 20.97 MB, free: 3.441 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.00208/0.00208, allocations: 157.7 kB / 24.27 MB, free: 148 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.672/1.672, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3493/0.3493, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.566e-05, allocations: 2.312 kB / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003281/0.003306, allocations: 1.731 MB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.006086, allocations: 1.707 MB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.006151, allocations: 0 / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.00644, allocations: 47.64 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.006833, allocations: 99.47 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.007054, allocations: 79.59 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.007268, allocations: 107.6 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.007368, allocations: 11.98 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.007499, allocations: 59.77 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.007663, allocations: 35.89 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.00769, allocations: 4 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.007893, allocations: 103.9 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.007958, allocations: 19.92 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.008009, allocations: 19.92 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.008351, allocations: 187.3 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008354, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008355, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.00836, allocations: 0 / 381.6 MB, free: 14.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007025/0.009062, allocations: 459.4 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.009097, allocations: 8.031 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.009161, allocations: 12.83 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.009433, allocations: 157 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.009447, allocations: 384 / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.009472, allocations: 8.375 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.009691, allocations: 106.7 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.009703, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.009714, allocations: 0 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.009718, allocations: 0 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.009805, allocations: 19.92 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.01029, allocations: 291.7 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.01049, allocations: 63.16 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.01055, allocations: 19.69 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.01057, allocations: 7.984 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.01074, allocations: 72.98 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.01074, allocations: 4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006069/0.01134, allocations: 181.3 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.01142, allocations: 81.09 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.01168, allocations: 230.9 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.01171, allocations: 25.7 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01182, allocations: 146.9 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.01186, allocations: 27.78 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.01192, allocations: 35.38 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.01221, allocations: 0.5 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.01226, allocations: 19.98 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01238, allocations: 76.75 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.01252, allocations: 71.36 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01252, allocations: 0 / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002127/0.01273, allocations: 105.5 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01274, allocations: 4 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01275, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.01277, allocations: 8.062 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.01286, allocations: 15.98 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01287, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.01292, allocations: 11.94 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01293, allocations: 0 / 384.3 MB, free: 11.7 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 0.0001487/0.01308, allocations: 168.5 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.01311, allocations: 11.94 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.0134, allocations: 114.4 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01341, allocations: 4 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.01341, allocations: 3.984 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01342, allocations: 4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.014, allocations: 405 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.014, allocations: 0 / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.01405, allocations: 15.92 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01405, allocations: 4 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01407, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01407, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01407, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.01445, allocations: 271.4 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.01448, allocations: 15.94 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01451, allocations: 32 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.01458, allocations: 8.375 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.01464, allocations: 15.92 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.01466, allocations: 4 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.01484, allocations: 174.1 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01484, allocations: 0 / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.01531, allocations: 51.86 kB / 385.5 MB, free: 10.36 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.003742/0.01905, allocations: 0.5951 MB / 386.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.0193, allocations: 67.59 kB / 386.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01931, allocations: 0 / 386.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.674e-05/0.0194, allocations: 43.61 kB / 386.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.0198, allocations: 40.44 kB / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.02036, allocations: 213.8 kB / 386.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.02047, allocations: 93.56 kB / 386.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.02054, allocations: 25.25 kB / 386.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.0206, allocations: 20.48 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0206, allocations: 0 / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.006962/0.02756, allocations: 2.524 MB / 389.2 MB, free: 6.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973431556951255]