Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001141/0.001141, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001004/0.001004, allocations: 170.2 kB / 25 MB, free: 8.352 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.133/1.133, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2668/0.2668, allocations: 32.8 MB / 294.6 MB, free: 1.266 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.376e-05, allocations: 4.141 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00341/0.003444, allocations: 1.657 MB / 377.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004533, allocations: 0.5453 MB / 378.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004637, allocations: 3.938 kB / 378.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.005023, allocations: 75.7 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.005402, allocations: 99.53 kB / 378.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.005711, allocations: 111.6 kB / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.00591, allocations: 91.7 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.006027, allocations: 15.97 kB / 378.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.006115, allocations: 43.91 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.006237, allocations: 55.86 kB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.006258, allocations: 4 kB / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.006355, allocations: 43.92 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.006416, allocations: 23.91 kB / 378.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.006453, allocations: 15.94 kB / 378.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.006657, allocations: 95.53 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00666, allocations: 4 kB / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006661, allocations: 0 / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006666, allocations: 4 kB / 378.9 MB, free: 2.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005154/0.007182, allocations: 435.9 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.007224, allocations: 8.031 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.007284, allocations: 16.84 kB / 379.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.007478, allocations: 149.1 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.007494, allocations: 8.375 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.007519, allocations: 384 / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.007665, allocations: 62.89 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.00768, allocations: 4.172 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.007692, allocations: 4.125 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.0077, allocations: 0 / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.007749, allocations: 15.98 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.008142, allocations: 295.7 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.008226, allocations: 46.98 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.008259, allocations: 15.62 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.00828, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.008304, allocations: 33.39 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.008306, allocations: 0 / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007003/0.009006, allocations: 185.3 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.009042, allocations: 51.41 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.009238, allocations: 234.4 kB / 380.4 MB, free: 368 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009255, allocations: 33.64 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.009333, allocations: 154.9 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.009366, allocations: 31.73 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.009408, allocations: 23.38 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.009584, allocations: 0.4961 MB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.009619, allocations: 15.98 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.009649, allocations: 8 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.002e-05/0.009719, allocations: 35.91 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.00972, allocations: 4 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.009853, allocations: 81.58 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.00987, allocations: 7.984 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009874, allocations: 0 / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.009888, allocations: 0 / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.009984, allocations: 19.94 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00999, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.01002, allocations: 7.984 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01003, allocations: 4 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.896e-05/0.01012, allocations: 160.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.01016, allocations: 19.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.01034, allocations: 87.08 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.01034, allocations: 3.984 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.01034, allocations: 4 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01035, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.01077, allocations: 373 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01077, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.01084, allocations: 15.98 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01084, allocations: 4 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01085, allocations: 4.031 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01085, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01085, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01103, allocations: 251.8 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01104, allocations: 3.953 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01106, allocations: 7.938 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.01112, allocations: 0 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.01116, allocations: 15.92 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01117, allocations: 7.984 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.01128, allocations: 167.2 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01128, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.01158, allocations: 27.94 kB / 382.5 MB, free: 14.19 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001283/0.01286, allocations: 448.1 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.013, allocations: 43.61 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01301, allocations: 0 / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01305, allocations: 31.59 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.01339, allocations: 23.95 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.01386, allocations: 237.9 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.794e-05/0.01392, allocations: 71.33 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.01398, allocations: 21.02 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01402, allocations: 12.5 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01402, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.00429/0.01831, allocations: 1.403 MB / 384.7 MB, free: 12.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.3413546739611775]