Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 43.54 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.6065, allocations: 87.82 MB / 0.5645 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6068, allocations: 70.91 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.6214, allocations: 5.249 MB / 0.5697 GB, free: 7.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6215, allocations: 0 / 0.5697 GB, free: 7.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.6215, allocations: 0 / 0.5697 GB, free: 7.555 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005916/0.6221, allocations: 409.9 kB / 0.5701 GB, free: 7.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6222, allocations: 12.56 kB / 0.5701 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.6223, allocations: 15.75 kB / 0.5701 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.6226, allocations: 205.9 kB / 0.5703 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.6226, allocations: 0 / 0.5703 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.6227, allocations: 7.562 kB / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.6228, allocations: 74.31 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6229, allocations: 0 / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6229, allocations: 3.75 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6229, allocations: 4 kB / 0.5704 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.623, allocations: 35.41 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.6234, allocations: 290.4 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.6236, allocations: 64.92 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6236, allocations: 8.062 kB / 0.5708 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.6238, allocations: 70.31 kB / 0.5709 GB, free: 6.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.6238, allocations: 0 / 0.5709 GB, free: 6.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005658/0.6244, allocations: 180.6 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.6244, allocations: 77.2 kB / 0.5711 GB, free: 6.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.6246, allocations: 154.1 kB / 0.5713 GB, free: 5.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6246, allocations: 25.7 kB / 0.5713 GB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.6247, allocations: 98.67 kB / 0.5714 GB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.6247, allocations: 27.02 kB / 0.5714 GB, free: 5.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.6247, allocations: 0 / 0.5714 GB, free: 5.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6248, allocations: 326 kB / 0.5717 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.6249, allocations: 22.48 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.625, allocations: 44.5 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.6251, allocations: 27.53 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6251, allocations: 0 / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001843/0.6253, allocations: 106 kB / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6253, allocations: 14.61 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.6253, allocations: 0 / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6253, allocations: 0 / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.6254, allocations: 19.98 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6254, allocations: 0 / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.6255, allocations: 10.78 kB / 0.5719 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.6255, allocations: 4 kB / 0.5719 GB, free: 5.223 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6256, allocations: 125.5 kB / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.6257, allocations: 7.906 kB / 0.5721 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.6259, allocations: 134.3 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.626, allocations: 7.922 kB / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.626, allocations: 0 / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.626, allocations: 0 / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.6265, allocations: 423 kB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6265, allocations: 3.953 kB / 0.5726 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.6266, allocations: 12 kB / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6266, allocations: 3.984 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.6266, allocations: 0 / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6266, allocations: 4 kB / 0.5726 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6266, allocations: 3.938 kB / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.6269, allocations: 225 kB / 0.5729 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.627, allocations: 90.88 kB / 0.5729 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.627, allocations: 5.75 kB / 0.5729 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.6271, allocations: 5.047 kB / 0.5729 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.6271, allocations: 5.062 kB / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.6271, allocations: 8.625 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.6273, allocations: 125.1 kB / 0.5731 GB, free: 4.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6273, allocations: 0 / 0.5731 GB, free: 4.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.6276, allocations: 44.92 kB / 0.5731 GB, free: 4.023 MB / 378.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: 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.6288, allocations: 0.5043 MB / 0.5736 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.6291, allocations: 67.91 kB / 0.5737 GB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6291, allocations: 0 / 0.5737 GB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.6292, allocations: 40.05 kB / 0.5737 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.6294, allocations: 29.42 kB / 0.5737 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.6299, allocations: 228.8 kB / 0.574 GB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.6303, allocations: 0.7047 MB / 0.5747 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.6303, allocations: 24.84 kB / 0.5747 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.6304, allocations: 15.44 kB / 0.5747 GB, free: 2.461 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6304, allocations: 0 / 0.5747 GB, free: 2.461 MB / 378.7 MB Notification: Performance of Templates: time 0.004857/0.6353, allocations: 1.983 MB / 0.5766 GB, free: 0.4922 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches