Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001299/0.001299, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001264/0.001264, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3506/0.3506, allocations: 34.27 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.Test8,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.875e-05, allocations: 2.312 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002746/0.002775, allocations: 1.769 MB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004273, allocations: 0.9975 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.004367, allocations: 3.938 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.004719, allocations: 111.6 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.005066, allocations: 127.5 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.005275, allocations: 83.59 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.005466, allocations: 139.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.005562, allocations: 11.98 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.005674, allocations: 75.81 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.005786, allocations: 67.84 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.005804, allocations: 7.938 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.00592, allocations: 59.92 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.005976, allocations: 31.86 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.00602, allocations: 23.91 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.006222, allocations: 131.5 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006225, allocations: 4 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006226, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00623, allocations: 0 / 382.2 MB, free: 14.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004759/0.006705, allocations: 499.4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.006749, allocations: 8.031 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.006857, allocations: 16.84 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.007037, allocations: 165.3 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.007059, allocations: 8.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.00708, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.0072, allocations: 70.86 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007211, allocations: 3.938 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.007222, allocations: 3.984 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007229, allocations: 4 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.007267, allocations: 11.98 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.007582, allocations: 284.3 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.007758, allocations: 67.05 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.007787, allocations: 19.67 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.007805, allocations: 7.938 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.896e-05/0.007904, allocations: 73.19 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.007905, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004921/0.008397, allocations: 217.5 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.008429, allocations: 59.34 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.008581, allocations: 266.7 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.008598, allocations: 29.7 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.008681, allocations: 166.8 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.008731, allocations: 47.61 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.008774, allocations: 35.36 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.008931, allocations: 0.5117 MB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.008955, allocations: 15.98 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.008994, allocations: 35.36 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.00909, allocations: 59.34 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009092, allocations: 4 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001286/0.00922, allocations: 121.5 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.009233, allocations: 8 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009239, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.009252, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.009314, allocations: 31.92 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.009318, allocations: 0 / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.009344, allocations: 4 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.00935, allocations: 0 / 385 MB, free: 11.61 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 (14): * Single equations (assignments): 14 * 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.811e-05/0.009438, allocations: 168.5 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.009461, allocations: 23.91 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.009648, allocations: 139 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.00965, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.009658, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.009664, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.01028, allocations: 437.1 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01028, allocations: 0 / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.01032, allocations: 19.94 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01033, allocations: 8.062 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.01033, allocations: 3.984 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01034, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01034, allocations: 0 / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.01052, allocations: 287.1 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.01054, allocations: 23.84 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01056, allocations: 8 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.0106, allocations: 4 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.01064, allocations: 19.86 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.01066, allocations: 4 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.01075, allocations: 185.4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01075, allocations: 4 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.01094, allocations: 39.92 kB / 386.4 MB, free: 10.18 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 (14): * Single equations (assignments): 12 * 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.0011/0.01204, allocations: 481.7 kB / 386.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01216, allocations: 75.52 kB / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01217, allocations: 0 / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.01222, allocations: 43.48 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01245, allocations: 41.55 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.01286, allocations: 293.9 kB / 387.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.01292, allocations: 79.81 kB / 387.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.01297, allocations: 29.31 kB / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.72e-05/0.01306, allocations: 94.19 kB / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01306, allocations: 0 / 387.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of Templates: time 0.004478/0.01754, allocations: 2.472 MB / 390 MB, free: 6.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.579085110221058]