Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001331/0.001331, allocations: 113.1 kB / 21.85 MB, free: 68 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.001465/0.001465, allocations: 208.3 kB / 25.12 MB, free: 3.59 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.2294/0.2294, 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") [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.002295/0.002295, allocations: 83.86 kB / 0.4979 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3053, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.0031/0.3084, allocations: 1.733 MB / 0.5641 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3101, allocations: 1.045 MB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3102, allocations: 0 / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.3104, allocations: 47.77 kB / 0.5652 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.3106, allocations: 95.5 kB / 0.5652 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.3108, allocations: 79.72 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.311, allocations: 103.7 kB / 0.5654 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.311, allocations: 7.984 kB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.3111, allocations: 51.72 kB / 0.5655 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.3112, allocations: 31.8 kB / 0.5655 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3112, allocations: 4 kB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.3113, allocations: 43.97 kB / 0.5656 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3114, allocations: 23.86 kB / 0.5656 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.3114, allocations: 35.75 kB / 0.5656 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3116, allocations: 118 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3116, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3116, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.3116, allocations: 0 / 0.5657 GB, free: 0.8164 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.0004547/0.312, allocations: 333.7 kB / 0.566 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3121, allocations: 12.03 kB / 0.5661 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3121, allocations: 8.891 kB / 0.5661 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3123, allocations: 150.3 kB / 0.5662 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3124, allocations: 8.375 kB / 0.5662 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3124, allocations: 4.359 kB / 0.5662 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3125, allocations: 57.98 kB / 0.5663 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3125, allocations: 7.984 kB / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.3125, allocations: 0 / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3125, allocations: 0 / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.3126, allocations: 15.98 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3129, allocations: 263.9 kB / 0.5665 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3131, allocations: 58.61 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.3132, allocations: 20.84 kB / 0.5666 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3132, allocations: 0 / 0.5666 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3133, allocations: 67.39 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3133, allocations: 7.938 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004984/0.3138, allocations: 177.4 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3139, allocations: 51.41 kB / 0.5669 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.314, allocations: 171.1 kB / 0.5671 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3141, allocations: 29.7 kB / 0.5671 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.3141, allocations: 108.1 kB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3142, allocations: 23.8 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3142, allocations: 25.7 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3143, allocations: 330.8 kB / 0.5676 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.3144, allocations: 16 kB / 0.5676 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.3145, allocations: 37.7 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.3146, allocations: 53.89 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3146, allocations: 0 / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.3148, allocations: 113.5 kB / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3148, allocations: 7.984 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3148, allocations: 0 / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3148, allocations: 4 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.3149, allocations: 16.31 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3149, allocations: 0 / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.3149, allocations: 11.98 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3149, allocations: 4 kB / 0.5678 GB, free: 14.46 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 9.677e-05/0.315, allocations: 121.8 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.3151, allocations: 11.98 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3153, allocations: 118.3 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3153, allocations: 4 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3153, allocations: 3.938 kB / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3153, allocations: 0 / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.3157, allocations: 362.4 kB / 0.5684 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3157, allocations: 0 / 0.5684 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.3158, allocations: 15.95 kB / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3158, allocations: 4 kB / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3158, allocations: 0 / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3158, allocations: 7.938 kB / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3158, allocations: 0 / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.316, allocations: 204.6 kB / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3161, allocations: 11.91 kB / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3161, allocations: 8 kB / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3162, allocations: 11.92 kB / 0.5687 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3162, allocations: 7.938 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3162, allocations: 7.984 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3163, allocations: 127.2 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3163, allocations: 0 / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3166, allocations: 23.94 kB / 0.5688 GB, free: 13.34 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.00171/0.3183, allocations: 458.4 kB / 0.5693 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3185, allocations: 55.92 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3185, allocations: 0 / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.3186, allocations: 23.98 kB / 0.5693 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3189, allocations: 33.98 kB / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3194, allocations: 215.1 kB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3197, allocations: 0.7041 MB / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3198, allocations: 25.27 kB / 0.5703 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3198, allocations: 15.44 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3198, allocations: 0 / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.0048/0.3246, allocations: 1.768 MB / 0.572 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.905690188985318]