Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.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.005704/0.005704, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001451/0.001451, allocations: 218.2 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.421/1.421, 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.2411/0.2411, allocations: 46.93 MB / 362.3 MB, free: 4.219 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") [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.002352/0.002352, allocations: 79.86 kB / 0.4982 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3735, allocations: 66.08 MB / 0.5628 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00422/0.3777, allocations: 1.881 MB / 0.5646 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3797, allocations: 1.041 MB / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3798, allocations: 0 / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.3801, allocations: 71.72 kB / 0.5657 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.3806, allocations: 115.4 kB / 0.5658 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.3811, allocations: 163.2 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.3814, allocations: 199.4 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3815, allocations: 13.75 kB / 0.5661 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3817, allocations: 91.67 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3819, allocations: 103.6 kB / 0.5663 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3819, allocations: 12 kB / 0.5663 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.382, allocations: 51.91 kB / 0.5664 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3821, allocations: 39.91 kB / 0.5664 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.3822, allocations: 71.53 kB / 0.5665 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3826, allocations: 185.7 kB / 0.5667 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3826, allocations: 7.875 kB / 0.5667 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3826, allocations: 0 / 0.5667 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3826, allocations: 0 / 0.5667 GB, free: 228 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001204/0.3838, allocations: 0.5044 MB / 0.5672 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3838, allocations: 8.031 kB / 0.5672 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.3839, allocations: 20.8 kB / 0.5672 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3842, allocations: 170.2 kB / 0.5674 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3842, allocations: 8.375 kB / 0.5674 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3842, allocations: 12.36 kB / 0.5674 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.3848, allocations: 141.8 kB / 0.5675 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3848, allocations: 4 kB / 0.5675 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3848, allocations: 4 kB / 0.5675 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3848, allocations: 0 / 0.5675 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.3855, allocations: 163.8 kB / 0.5677 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3861, allocations: 335.7 kB / 0.568 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.3868, allocations: 194.3 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.3872, allocations: 88.77 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3872, allocations: 0 / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006384/0.3879, allocations: 167.2 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3879, allocations: 0 / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003671/0.3915, allocations: 0.8245 MB / 0.5692 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.3916, allocations: 59.38 kB / 0.5693 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.392, allocations: 252.2 kB / 0.5695 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.392, allocations: 25.7 kB / 0.5696 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3921, allocations: 128.1 kB / 0.5697 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.3922, allocations: 39.69 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3923, allocations: 33.7 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3925, allocations: 334.8 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.3932, allocations: 167.8 kB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.3938, allocations: 167.8 kB / 0.5704 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3951, allocations: 361.9 kB / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3951, allocations: 0 / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001476/0.3965, allocations: 464.5 kB / 0.5712 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/0.3966, allocations: 59.41 kB / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3966, allocations: 0 / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3966, allocations: 0 / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.397, allocations: 75.89 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.397, allocations: 0 / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.3974, allocations: 67.84 kB / 0.5714 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3974, allocations: 4 kB / 0.5714 GB, free: 11.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001637/0.3976, allocations: 134.6 kB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.3976, allocations: 31.86 kB / 0.5715 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3991, allocations: 402.6 kB / 0.5719 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3991, allocations: 4 kB / 0.5719 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3991, allocations: 0 / 0.5719 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3991, allocations: 3.938 kB / 0.5719 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.401, allocations: 0.6847 MB / 0.5726 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.401, allocations: 0 / 0.5726 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.4014, allocations: 63.91 kB / 0.5727 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4014, allocations: 7.984 kB / 0.5727 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.4014, allocations: 8.5 kB / 0.5727 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4014, allocations: 4 kB / 0.5727 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4014, allocations: 0 / 0.5727 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.4028, allocations: 483 kB / 0.5731 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.4028, allocations: 11.91 kB / 0.5731 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.4029, allocations: 7.938 kB / 0.5732 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.4033, allocations: 67.84 kB / 0.5732 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4034, allocations: 47.92 kB / 0.5733 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4034, allocations: 4 kB / 0.5733 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.4036, allocations: 188.6 kB / 0.5734 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4036, allocations: 4 kB / 0.5735 GB, free: 8.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.404, allocations: 40 kB / 0.5735 GB, free: 8.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001582/0.4055, allocations: 400.1 kB / 0.5739 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.4071, allocations: 470.3 kB / 0.5743 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4071, allocations: 0 / 0.5743 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.4077, allocations: 167.8 kB / 0.5745 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4081, allocations: 44.62 kB / 0.5745 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4092, allocations: 380.4 kB / 0.5749 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4096, allocations: 0.724 MB / 0.5756 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4097, allocations: 23.44 kB / 0.5756 GB, free: 6.797 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4097, allocations: 0 / 0.5756 GB, free: 6.797 MB / 414.1 MB Notification: Performance of Templates: time 0.006213/0.4159, allocations: 3.23 MB / 0.5788 GB, free: 3.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.940175658091903]