Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008174/0.0008174, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.0009451/0.0009451, allocations: 170.4 kB / 25.61 MB, free: 8.914 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.979/0.979, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.142/0.142, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.562e-05, allocations: 13.77 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003299/0.003325, allocations: 1.744 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.005023, allocations: 1.718 MB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.005113, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.005376, allocations: 43.7 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.005736, allocations: 99.47 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.00596, allocations: 83.55 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.006092, allocations: 119.5 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.006169, allocations: 7.984 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.006246, allocations: 47.91 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.006348, allocations: 43.83 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.006363, allocations: 4 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.006524, allocations: 107.8 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.006569, allocations: 15.92 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.006602, allocations: 27.91 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.006828, allocations: 155.5 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.006833, allocations: 4 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006834, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.00684, allocations: 0 / 383.6 MB, free: 19.09 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.0003656/0.007205, allocations: 451.7 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.007243, allocations: 12.03 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.007281, allocations: 12.89 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.007421, allocations: 153 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.007435, allocations: 384 / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.007452, allocations: 8.375 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.007549, allocations: 107.4 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007558, allocations: 0 / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.007565, allocations: 3.984 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.00757, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.007593, allocations: 15.86 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.007793, allocations: 256.4 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.795e-05/0.007871, allocations: 63.09 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.007889, allocations: 11.69 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.007899, allocations: 0 / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.777e-05/0.007967, allocations: 68.98 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.007968, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002795/0.008247, allocations: 141.4 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.00827, allocations: 85.09 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.008354, allocations: 212.5 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.008361, allocations: 29.7 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.008393, allocations: 146.8 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.008418, allocations: 19.86 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.008449, allocations: 35.34 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.008503, allocations: 0.4922 MB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.008517, allocations: 11.98 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.008545, allocations: 65.11 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.008582, allocations: 47.38 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.008583, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.899e-05/0.008672, allocations: 97.58 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.008683, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008687, allocations: 4 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.008694, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.008743, allocations: 12 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.008745, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.008775, allocations: 19.88 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.00878, allocations: 0 / 386.1 MB, free: 16.3 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.304e-05/0.008833, allocations: 160.5 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.008848, allocations: 19.89 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.008955, allocations: 98.47 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008957, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.008959, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008963, allocations: 4 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.009179, allocations: 357.6 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.00918, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.009204, allocations: 11.94 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009206, allocations: 3.938 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.009213, allocations: 4 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009214, allocations: 0 / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.009216, allocations: 8.016 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.009316, allocations: 259.7 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.009327, allocations: 7.938 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009342, allocations: 4 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.009382, allocations: 8 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.009405, allocations: 3.984 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.009416, allocations: 4 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.471e-05/0.00946, allocations: 158.4 kB / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009461, allocations: 0 / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000224/0.009685, allocations: 51.8 kB / 387.3 MB, free: 15.09 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.001159/0.01084, allocations: 0.5401 MB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01095, allocations: 51.58 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01095, allocations: 0 / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.08e-05/0.01098, allocations: 35.55 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.0112, allocations: 35.28 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.01146, allocations: 199.7 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.362e-05/0.01149, allocations: 67.34 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.01153, allocations: 25.08 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.0116, allocations: 98.17 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0116, allocations: 3.938 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003811/0.01541, allocations: 2.812 MB / 391.1 MB, free: 11.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.2707192138768733]