Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001341/0.001341, 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.001121/0.001121, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9488/0.9488, allocations: 177.1 MB / 206 MB, free: 4.496 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.1499/0.1499, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.465e-05, allocations: 2.312 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00538/0.005405, allocations: 1.75 MB / 379.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.006575, allocations: 0.9936 MB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.006654, allocations: 3.938 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.006916, allocations: 39.77 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.007185, allocations: 99.47 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.007374, allocations: 83.61 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.00751, allocations: 107.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.007584, allocations: 11.94 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.007663, allocations: 55.83 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.01074, allocations: 31.91 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.01075, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.01084, allocations: 43.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.01089, allocations: 23.91 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.01092, allocations: 15.94 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.01107, allocations: 111.5 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01108, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01108, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.01108, allocations: 0 / 380.7 MB, free: 22.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003416/0.01142, allocations: 455.8 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.01145, allocations: 15.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.01149, allocations: 16.84 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.01162, allocations: 156.4 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.01163, allocations: 384 / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.01165, allocations: 8.375 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.01174, allocations: 58.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.01175, allocations: 3.938 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.01176, allocations: 0 / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01176, allocations: 4 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.01179, allocations: 15.98 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.01198, allocations: 256.4 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.01206, allocations: 59.05 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.01208, allocations: 15.67 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.01209, allocations: 4 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.01217, allocations: 68.98 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.01217, allocations: 0 / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000295/0.01247, allocations: 133.5 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.01249, allocations: 51.41 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01259, allocations: 242.2 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.0126, allocations: 37.7 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.01264, allocations: 150.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.01266, allocations: 23.84 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.0127, allocations: 31.36 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.01274, allocations: 0.4962 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.01276, allocations: 15.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.01279, allocations: 27.36 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.01283, allocations: 43.36 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01283, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.917e-05/0.01293, allocations: 93.47 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01294, allocations: 8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.01295, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.01295, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.01302, allocations: 15.98 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.01302, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.01306, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.01306, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.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 5.096e-05/0.01311, allocations: 167.6 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.01313, allocations: 19.89 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.01326, allocations: 103.2 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01326, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.01326, allocations: 3.984 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01327, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.01651, allocations: 369.9 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01652, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.01655, allocations: 15.98 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01656, allocations: 4 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.01656, allocations: 0 / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01656, allocations: 3.938 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01657, allocations: 4.031 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.01668, allocations: 263.4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.01669, allocations: 11.94 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01671, allocations: 0 / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.01677, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.01679, allocations: 11.98 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01681, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.01686, allocations: 176.2 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01686, allocations: 0 / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.0171, allocations: 20 kB / 384.3 MB, free: 18.21 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: 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.0009627/0.01806, allocations: 436.4 kB / 384.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.01816, allocations: 51.55 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01817, allocations: 0 / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.0182, allocations: 31.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01848, allocations: 35.06 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.01877, allocations: 231.7 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.0188, allocations: 75.31 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01884, allocations: 20.97 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.0189, allocations: 86.19 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0189, allocations: 0 / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of Templates: time 0.009845/0.02874, allocations: 2.057 MB / 387.3 MB, free: 15.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.39991507306695]