Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.00144/0.00144, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001751/0.001751, allocations: 218 kB / 25.13 MB, free: 3.609 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.437/1.437, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2308/0.2308, allocations: 46.93 MB / 362 MB, free: 4.242 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21") [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.00241/0.00241, allocations: 79.86 kB / 0.4979 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3208, allocations: 66.08 MB / 0.5624 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003207/0.324, allocations: 1.741 MB / 0.5641 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3258, allocations: 1.049 MB / 0.5651 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.3258, allocations: 0 / 0.5651 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.3261, allocations: 47.75 kB / 0.5652 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.3264, allocations: 91.56 kB / 0.5653 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3266, allocations: 75.72 kB / 0.5653 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3268, allocations: 111.6 kB / 0.5654 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.3269, allocations: 12 kB / 0.5654 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.327, allocations: 47.77 kB / 0.5655 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.3271, allocations: 31.8 kB / 0.5655 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3271, allocations: 4 kB / 0.5655 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3272, allocations: 47.91 kB / 0.5656 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.3272, allocations: 23.92 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.3273, allocations: 35.73 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.3275, allocations: 122 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3275, allocations: 0 / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3275, allocations: 0 / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.3275, allocations: 4 kB / 0.5657 GB, free: 0.8242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005667/0.3281, allocations: 349.5 kB / 0.5661 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3281, allocations: 8.031 kB / 0.5661 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.3282, allocations: 12.89 kB / 0.5661 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3285, allocations: 158.9 kB / 0.5662 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3285, allocations: 4.375 kB / 0.5663 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3285, allocations: 384 / 0.5663 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3287, allocations: 57.98 kB / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3287, allocations: 4 kB / 0.5663 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3287, allocations: 0 / 0.5663 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3287, allocations: 4 kB / 0.5663 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.3288, allocations: 15.98 kB / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3292, allocations: 267.8 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3293, allocations: 50.67 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.3294, allocations: 28.83 kB / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3294, allocations: 0 / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.3296, allocations: 71.33 kB / 0.5667 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3296, allocations: 0 / 0.5667 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005388/0.3301, allocations: 177.4 kB / 0.5669 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3302, allocations: 59.34 kB / 0.567 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3304, allocations: 198.3 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3304, allocations: 29.7 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3305, allocations: 104.1 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3305, allocations: 31.72 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.3305, allocations: 17.72 kB / 0.5673 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3307, allocations: 330.7 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.3308, allocations: 23.98 kB / 0.5677 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.3308, allocations: 37.7 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3309, allocations: 69.7 kB / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3309, allocations: 0 / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.3311, allocations: 97.58 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3312, allocations: 8 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3312, allocations: 0 / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3312, allocations: 0 / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.3313, allocations: 23.95 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3313, allocations: 4 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.3313, allocations: 4.375 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3313, allocations: 4 kB / 0.5679 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 (10): * Single equations (assignments): 10 * 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.0001199/0.3315, allocations: 129 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3315, allocations: 19.91 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.3317, allocations: 111 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3317, allocations: 0 / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3318, allocations: 8 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3318, allocations: 0 / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3322, allocations: 374.3 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3322, allocations: 0 / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.3323, allocations: 11.98 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3323, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3323, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3323, allocations: 7.938 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3323, allocations: 0 / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3325, allocations: 208.3 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.3325, allocations: 7.953 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3326, allocations: 7.984 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.3326, allocations: 7.938 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3327, allocations: 7.984 kB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3327, allocations: 7.938 kB / 0.5688 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3328, allocations: 152.2 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3328, allocations: 0 / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3331, allocations: 23.94 kB / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001663/0.3347, allocations: 447.6 kB / 0.5694 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3349, allocations: 59.91 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3349, allocations: 0 / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.335, allocations: 31.97 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3354, allocations: 26.55 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.3358, allocations: 238.8 kB / 0.5697 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3362, allocations: 0.708 MB / 0.5704 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.3362, allocations: 13.28 kB / 0.5704 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3363, allocations: 15.44 kB / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3363, allocations: 0 / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Templates: time 0.004657/0.3409, allocations: 1.779 MB / 0.5722 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.897868763189763]