Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001225/0.001225, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001207/0.001207, allocations: 165 kB / 24.56 MB, free: 16 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.011/1.011, allocations: 177.2 MB / 205 MB, free: 5.301 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.2735/0.2735, allocations: 34.26 MB / 295.7 MB, free: 0.707 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.818e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002651/0.002679, allocations: 1.937 MB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004181, allocations: 1.107 MB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004296, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.004775, allocations: 263.1 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.005257, allocations: 235 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.005556, allocations: 123.5 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.00593, allocations: 275.2 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.006082, allocations: 17.95 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.006291, allocations: 159.6 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.006503, allocations: 199.5 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.00653, allocations: 12 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.006674, allocations: 59.92 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.006768, allocations: 75.69 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.006837, allocations: 43.8 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.007148, allocations: 203.2 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.007154, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007155, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.007162, allocations: 4 kB / 382.8 MB, free: 13.86 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000705/0.007867, allocations: 0.6234 MB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.007909, allocations: 8.031 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.007999, allocations: 44.7 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.008285, allocations: 231 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.008309, allocations: 8.375 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.008337, allocations: 4.375 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.008551, allocations: 125.5 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.008567, allocations: 3.938 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.00858, allocations: 8 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.00859, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.008656, allocations: 31.97 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.009183, allocations: 0.5257 MB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.009521, allocations: 114.1 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.009592, allocations: 35.48 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.009611, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.009788, allocations: 120.4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.009789, allocations: 0 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009176/0.01071, allocations: 488.5 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.01075, allocations: 85.05 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.01103, allocations: 430.8 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01105, allocations: 29.7 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01115, allocations: 227.3 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.01121, allocations: 79.38 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01127, allocations: 51.36 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01142, allocations: 0.5235 MB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.0115, allocations: 35.97 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.01158, allocations: 82.66 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01171, allocations: 126.8 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01172, allocations: 0 / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002596/0.01198, allocations: 205.3 kB / 387 MB, free: 9.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.012, allocations: 8.062 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.01201, allocations: 4 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01203, allocations: 0 / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01214, allocations: 47.91 kB / 387.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.01215, allocations: 5.109 kB / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.149e-05/0.01221, allocations: 8 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.01222, allocations: 11.98 kB / 387.1 MB, free: 9.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001332/0.01236, allocations: 168.5 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.01242, allocations: 51.75 kB / 387.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.01277, allocations: 240.4 kB / 387.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.01278, allocations: 4 kB / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.01279, allocations: 3.938 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01279, allocations: 0 / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.01353, allocations: 0.7567 MB / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01353, allocations: 0 / 388.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.01359, allocations: 35.92 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.0136, allocations: 0 / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01361, allocations: 12.12 kB / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01362, allocations: 4 kB / 388.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.01362, allocations: 8 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.01395, allocations: 0.5159 MB / 388.9 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01399, allocations: 31.77 kB / 388.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.01402, allocations: 8 kB / 388.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.0141, allocations: 11.98 kB / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.01416, allocations: 23.91 kB / 389 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.01418, allocations: 8 kB / 389 MB, free: 7.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.01437, allocations: 299 kB / 389.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01437, allocations: 4 kB / 389.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01463, allocations: 51.94 kB / 389.3 MB, free: 6.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00119/0.01582, allocations: 490.2 kB / 389.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.01612, allocations: 136 kB / 389.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01612, allocations: 0 / 389.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.01622, allocations: 75.53 kB / 390 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.01664, allocations: 77.17 kB / 390.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.01739, allocations: 0.5287 MB / 390.6 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.01747, allocations: 100.3 kB / 390.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.01755, allocations: 37.92 kB / 390.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.01761, allocations: 36.5 kB / 390.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01761, allocations: 0 / 390.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of Templates: time 0.00635/0.02396, allocations: 3.619 MB / 394.4 MB, free: 2.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.2556288689374924]