Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.006807/0.006807, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.0019/0.0019, allocations: 215.9 kB / 25.29 MB, free: 3.203 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.442/1.442, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2287/0.2287, allocations: 46.92 MB / 362.3 MB, free: 4.199 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002424/0.002424, allocations: 79.86 kB / 0.4983 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3056, allocations: 66.07 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003736/0.3094, allocations: 2.308 MB / 0.5651 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3118, allocations: 1.342 MB / 0.5664 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3119, allocations: 3.938 kB / 0.5664 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.3123, allocations: 127.3 kB / 0.5665 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.3128, allocations: 238.9 kB / 0.5667 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.3132, allocations: 199.5 kB / 0.5669 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.3137, allocations: 470.5 kB / 0.5674 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3139, allocations: 55.89 kB / 0.5674 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.3143, allocations: 311 kB / 0.5677 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3145, allocations: 175.1 kB / 0.5679 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3146, allocations: 16 kB / 0.5679 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.3147, allocations: 71.92 kB / 0.568 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3149, allocations: 131.5 kB / 0.5681 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.315, allocations: 186.5 kB / 0.5683 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.3156, allocations: 449.4 kB / 0.5687 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3156, allocations: 0 / 0.5687 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3156, allocations: 0 / 0.5687 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3156, allocations: 0 / 0.5687 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001108/0.3167, allocations: 0.7683 MB / 0.5694 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3167, allocations: 11.97 kB / 0.5695 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.3168, allocations: 64.52 kB / 0.5695 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.3174, allocations: 353.9 kB / 0.5699 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3174, allocations: 8.375 kB / 0.5699 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.3174, allocations: 24.27 kB / 0.5699 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.3178, allocations: 205.3 kB / 0.5701 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3179, allocations: 0 / 0.5701 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3179, allocations: 8 kB / 0.5701 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3179, allocations: 4 kB / 0.5701 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3181, allocations: 95.84 kB / 0.5702 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.319, allocations: 0.7656 MB / 0.5709 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.3197, allocations: 242.5 kB / 0.5712 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.3198, allocations: 75.53 kB / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3199, allocations: 7.984 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.3202, allocations: 208.4 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.3202, allocations: 0 / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002467/0.3227, allocations: 1.136 MB / 0.5725 GB, free: 10.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.3228, allocations: 132.5 kB / 0.5727 GB, free: 9.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.3237, allocations: 0.8008 MB / 0.5735 GB, free: 9.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.3237, allocations: 37.7 kB / 0.5735 GB, free: 8.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3239, allocations: 241 kB / 0.5737 GB, free: 8.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.3241, allocations: 146.8 kB / 0.5739 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3242, allocations: 78.09 kB / 0.5739 GB, free: 8.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3245, allocations: 378.7 kB / 0.5743 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.3248, allocations: 116.8 kB / 0.5744 GB, free: 8.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.3252, allocations: 187.1 kB / 0.5746 GB, free: 7.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.3261, allocations: 315 kB / 0.5749 GB, free: 7.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3261, allocations: 4 kB / 0.5749 GB, free: 7.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001157/0.3272, allocations: 441.2 kB / 0.5753 GB, free: 7.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3273, allocations: 10.44 kB / 0.5753 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3273, allocations: 4 kB / 0.5753 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.3273, allocations: 4 kB / 0.5753 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.3277, allocations: 91.83 kB / 0.5754 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3277, allocations: 8.125 kB / 0.5754 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.328, allocations: 15.98 kB / 0.5754 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.328, allocations: 16 kB / 0.5755 GB, free: 6.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003866/0.3284, allocations: 240 kB / 0.5757 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3285, allocations: 67.53 kB / 0.5757 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.33, allocations: 0.4952 MB / 0.5762 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.33, allocations: 11.94 kB / 0.5762 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.33, allocations: 4 kB / 0.5762 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.33, allocations: 0 / 0.5762 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.3318, allocations: 1.278 MB / 0.5775 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.3318, allocations: 4 kB / 0.5775 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.332, allocations: 59.84 kB / 0.5776 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.332, allocations: 4 kB / 0.5776 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.332, allocations: 20 kB / 0.5776 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.332, allocations: 8.359 kB / 0.5776 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.332, allocations: 12.19 kB / 0.5776 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.333, allocations: 0.7939 MB / 0.5784 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.3332, allocations: 87.53 kB / 0.5785 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.3333, allocations: 19.98 kB / 0.5785 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3335, allocations: 15.98 kB / 0.5785 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3336, allocations: 47.88 kB / 0.5785 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.3337, allocations: 20 kB / 0.5786 GB, free: 3.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007049/0.3344, allocations: 0.5849 MB / 0.5791 GB, free: 3.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3344, allocations: 3.938 kB / 0.5791 GB, free: 3.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000531/0.3349, allocations: 83.94 kB / 0.5792 GB, free: 2.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001953/0.3369, allocations: 0.5241 MB / 0.5797 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.3376, allocations: 292.2 kB / 0.58 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3376, allocations: 0 / 0.58 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.3379, allocations: 152.3 kB / 0.5801 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.3388, allocations: 125.4 kB / 0.5803 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3404, allocations: 1.114 MB / 0.5814 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.341, allocations: 0.8821 MB / 0.5822 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3411, allocations: 59.41 kB / 0.5823 GB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3411, allocations: 0 / 0.5823 GB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.01006/0.3512, allocations: 6.509 MB / 0.5886 GB, free: 9.387 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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: 8.427659614011645]