Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002373/0.002373, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.234/0.234, allocations: 46.89 MB / 361.1 MB, free: 4.605 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 79.88 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3099, allocations: 65.98 MB / 0.5613 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003252/0.3132, allocations: 1.767 MB / 0.563 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.315, allocations: 1.053 MB / 0.5641 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.3151, allocations: 3.938 kB / 0.5641 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3154, allocations: 91.69 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3158, allocations: 111.6 kB / 0.5643 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.316, allocations: 83.66 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3162, allocations: 123.7 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3163, allocations: 11.98 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3164, allocations: 55.77 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3165, allocations: 83.67 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3166, allocations: 4 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3167, allocations: 59.97 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.3168, allocations: 27.91 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.3168, allocations: 35.69 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3171, allocations: 150.2 kB / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3171, allocations: 0 / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3171, allocations: 0 / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3171, allocations: 3.938 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006436/0.3177, allocations: 454.4 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3177, allocations: 8.031 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.3178, allocations: 16.84 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3181, allocations: 224.9 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3181, allocations: 384 / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3181, allocations: 8.312 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3183, allocations: 57.98 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3183, allocations: 7.938 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3183, allocations: 11.98 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3183, allocations: 0 / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.3184, allocations: 19.98 kB / 0.5656 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3189, allocations: 300.8 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3191, allocations: 66.48 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.3192, allocations: 20.98 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3192, allocations: 7.984 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3194, allocations: 71.45 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3194, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007653/0.3201, allocations: 233.7 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3202, allocations: 55.41 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3204, allocations: 243 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3204, allocations: 29.7 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3205, allocations: 112.1 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3206, allocations: 27.75 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.3206, allocations: 33.64 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3208, allocations: 330.8 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.3209, allocations: 27.98 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.321, allocations: 53.64 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3211, allocations: 85.69 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3211, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002397/0.3213, allocations: 129.5 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3214, allocations: 4 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3214, allocations: 0 / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3214, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.3215, allocations: 19.98 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3215, allocations: 4.031 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.3215, allocations: 11.88 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3215, allocations: 8 kB / 0.5674 GB, free: 14.42 MB / 414.1 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 (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 0.0001211/0.3217, allocations: 133.8 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3217, allocations: 15.91 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.322, allocations: 146.9 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.322, allocations: 3.984 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.322, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.322, allocations: 11.94 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3226, allocations: 444.1 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3226, allocations: 4 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.3227, allocations: 19.94 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3227, allocations: 3.938 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3227, allocations: 7.984 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3227, allocations: 0 / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3227, allocations: 4.062 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.323, allocations: 233.1 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3231, allocations: 92.95 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.3231, allocations: 7.984 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.3232, allocations: 4 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.3232, allocations: 15.92 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3232, allocations: 8 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3234, allocations: 168.4 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3234, allocations: 96 / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3237, allocations: 35.86 kB / 0.5687 GB, free: 12.97 MB / 414.1 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 (11): * Single equations (assignments): 9 * 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.001969/0.3257, allocations: 0.4973 MB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3259, allocations: 79.91 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3259, allocations: 0 / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.326, allocations: 31.92 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3264, allocations: 50.61 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.327, allocations: 300.3 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3274, allocations: 0.7206 MB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.126e-05/0.3274, allocations: 20.64 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3275, allocations: 19.62 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3275, allocations: 0 / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.005542/0.333, allocations: 2.039 MB / 0.5724 GB, free: 9.363 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933666342869401]