Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008488/0.0008488, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.0009902/0.0009902, allocations: 169.7 kB / 24.82 MB, free: 9.23 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.9951/0.9951, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2366/0.2366, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.44e-05, allocations: 4.844 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002167/0.002182, allocations: 1.781 MB / 378.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003335, allocations: 0.9975 MB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.00341, allocations: 0 / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.003693, allocations: 107.6 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.003937, allocations: 131.4 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.004077, allocations: 83.53 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004219, allocations: 131.7 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.004301, allocations: 11.94 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.004393, allocations: 67.81 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.004488, allocations: 63.8 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004504, allocations: 4 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.004597, allocations: 63.91 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.004649, allocations: 27.92 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.004689, allocations: 27.84 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004862, allocations: 119.5 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004863, allocations: 0 / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.004865, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004869, allocations: 7.938 kB / 380.2 MB, free: 0.6484 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004419/0.005311, allocations: 475.6 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.005344, allocations: 8.031 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.005379, allocations: 20.83 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005525, allocations: 156.4 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.00554, allocations: 4.375 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.005556, allocations: 4.375 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00566, allocations: 66.88 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005671, allocations: 7.922 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.005678, allocations: 3.984 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005684, allocations: 8 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.005711, allocations: 11.98 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.005953, allocations: 276.3 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.006083, allocations: 58.97 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.006102, allocations: 11.69 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.006118, allocations: 7.938 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.756e-05/0.006195, allocations: 65.03 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.006196, allocations: 0 / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004395/0.006636, allocations: 209.9 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.006664, allocations: 55.34 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.007111, allocations: 254.2 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.007126, allocations: 33.69 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.007204, allocations: 174.8 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.007234, allocations: 31.69 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.007271, allocations: 35.36 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.007384, allocations: 0.5039 MB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.007405, allocations: 15.98 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.007437, allocations: 43.34 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.007488, allocations: 51.36 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007489, allocations: 3.938 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000106/0.007595, allocations: 101.5 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.007605, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007609, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.00762, allocations: 4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.007671, allocations: 27.92 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007674, allocations: 0 / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.007702, allocations: 8.031 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007707, allocations: 0 / 382.9 MB, free: 13.73 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 (13): * Single equations (assignments): 13 * 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 6.949e-05/0.007776, allocations: 172.5 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.007794, allocations: 19.91 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.007935, allocations: 123 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007938, allocations: 4 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007939, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007943, allocations: 3.984 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.008217, allocations: 413.1 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008218, allocations: 4.062 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.008244, allocations: 12 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.008248, allocations: 4 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.008253, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008255, allocations: 3.984 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.008257, allocations: 4 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.008396, allocations: 275.1 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.00841, allocations: 19.89 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008426, allocations: 4 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.00848, allocations: 11.92 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.008505, allocations: 19.92 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.008518, allocations: 8 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.008584, allocations: 176.4 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008584, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.008753, allocations: 31.94 kB / 384.2 MB, free: 12.37 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: 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 (12): * Single equations (assignments): 10 * 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.000915/0.009668, allocations: 493.7 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.448e-05/0.009762, allocations: 59.53 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.009764, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.009804, allocations: 39.61 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01003, allocations: 36.08 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.01033, allocations: 274.1 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.01037, allocations: 83.52 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.01041, allocations: 20.62 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.01048, allocations: 90.19 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01048, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003564/0.01404, allocations: 2.334 MB / 387.6 MB, free: 9.109 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.0496813720092177]