Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001199/0.001199, 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.001348/0.001348, 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.289 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.2857/0.2857, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.306e-05, allocations: 10.31 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002921/0.002954, allocations: 1.677 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.003896, allocations: 0.5453 MB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.003984, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.004297, allocations: 39.72 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.004686, allocations: 83.55 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.00498, allocations: 95.69 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.005167, allocations: 91.69 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.005287, allocations: 23.97 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.005365, allocations: 39.91 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.005462, allocations: 35.89 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005481, allocations: 4 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.005586, allocations: 43.92 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.005644, allocations: 23.92 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.005686, allocations: 23.92 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.005874, allocations: 95.53 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005876, allocations: 0 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005877, allocations: 0 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.005882, allocations: 0 / 380.9 MB, free: 15.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004643/0.006347, allocations: 436 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.006388, allocations: 8.031 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.006443, allocations: 12.89 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.006624, allocations: 144.4 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.006637, allocations: 4.375 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.006667, allocations: 12.33 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.006838, allocations: 74.88 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.006852, allocations: 4.172 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.006865, allocations: 8.125 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.006873, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.006924, allocations: 19.98 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.007341, allocations: 311.6 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.007447, allocations: 54.98 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.007482, allocations: 15.69 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.007511, allocations: 4 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.007543, allocations: 37.39 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.007545, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006951/0.00824, allocations: 237.7 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.008282, allocations: 51.41 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.008424, allocations: 213.2 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.00844, allocations: 25.81 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.008499, allocations: 158.7 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.008534, allocations: 47.8 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.008576, allocations: 35.36 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.008705, allocations: 0.4923 MB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.008736, allocations: 15.98 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.008763, allocations: 16 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.008838, allocations: 59.48 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008839, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001267/0.008965, allocations: 105.6 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008979, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008984, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008998, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.009097, allocations: 31.92 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.009104, allocations: 3.938 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.009124, allocations: 4 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.009132, allocations: 4 kB / 383.5 MB, free: 13 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 (13): * Single equations (assignments): 13 * 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.313e-05/0.009215, allocations: 160.6 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.009239, allocations: 11.95 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.009429, allocations: 118.4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009432, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.009436, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.009442, allocations: 15.86 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.009799, allocations: 428.9 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009801, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.009875, allocations: 20 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.009882, allocations: 7.922 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.009891, allocations: 4 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.009894, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009895, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.01006, allocations: 255.5 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01008, allocations: 11.89 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.01009, allocations: 16.03 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.01013, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.01018, allocations: 7.984 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.01019, allocations: 7.984 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.01026, allocations: 151.2 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01026, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01045, allocations: 27.98 kB / 384.7 MB, free: 11.7 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 (13): * Single equations (assignments): 13 * 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.001016/0.01147, allocations: 445 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.01169, allocations: 75.59 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01169, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.01177, allocations: 35.61 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.01208, allocations: 38.62 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.01253, allocations: 230.4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01258, allocations: 75.33 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.01263, allocations: 20.55 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.01267, allocations: 20.48 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01268, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.004093/0.01677, allocations: 1.649 MB / 387.3 MB, free: 9.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.223847927991301]