Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001773/0.001773, allocations: 114 kB / 20.43 MB, free: 1.457 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.002158/0.002158, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 75.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3861, allocations: 66.08 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003645/0.3897, allocations: 1.869 MB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3916, allocations: 1.041 MB / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.3917, allocations: 0 / 0.5636 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.392, allocations: 67.72 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.3924, allocations: 115.4 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3929, allocations: 167 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.3932, allocations: 199.4 kB / 0.5641 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3933, allocations: 23.53 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3935, allocations: 87.62 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3937, allocations: 107.6 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.3937, allocations: 12 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3938, allocations: 47.94 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3939, allocations: 43.88 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.394, allocations: 71.53 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.3943, allocations: 191.2 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3943, allocations: 4 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3943, allocations: 0 / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3943, allocations: 0 / 0.5647 GB, free: 260 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.001397/0.3957, allocations: 0.5083 MB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.3958, allocations: 12.03 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.3959, allocations: 42.73 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.3959, allocations: 16.84 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.3963, allocations: 175.3 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3963, allocations: 8.375 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3963, allocations: 4.375 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.3968, allocations: 153.5 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3969, allocations: 4 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3969, allocations: 4 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3969, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.3976, allocations: 159.8 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.3982, allocations: 351.7 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.3989, allocations: 190.3 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.3993, allocations: 88.75 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3993, allocations: 0 / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/0.4, allocations: 163.2 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.4, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003638/0.4037, allocations: 0.821 MB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4037, allocations: 59.56 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.404, allocations: 256.9 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.4041, allocations: 33.64 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4042, allocations: 132.1 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.4042, allocations: 35.7 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.4043, allocations: 33.7 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4045, allocations: 334.8 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.4052, allocations: 167.8 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.4058, allocations: 167.8 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.4072, allocations: 370 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4072, allocations: 0 / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001555/0.4087, allocations: 464.4 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.4088, allocations: 65.91 kB / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4088, allocations: 0 / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4088, allocations: 0 / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.4092, allocations: 67.91 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4092, allocations: 0 / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.4097, allocations: 71.83 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4097, allocations: 8 kB / 0.5695 GB, free: 11.12 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.0001737/0.4099, allocations: 138.9 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.4099, allocations: 23.86 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.4114, allocations: 394.7 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4114, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4114, allocations: 4 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.4114, allocations: 3.938 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4133, allocations: 0.6768 MB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4133, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.4136, allocations: 71.91 kB / 0.5707 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.4137, allocations: 4 kB / 0.5707 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4137, allocations: 3.938 kB / 0.5707 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4137, allocations: 0 / 0.5707 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4137, allocations: 0 / 0.5707 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.4153, allocations: 487 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.4153, allocations: 19.89 kB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.4154, allocations: 11.92 kB / 0.5712 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.4158, allocations: 67.91 kB / 0.5713 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.416, allocations: 47.92 kB / 0.5713 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.416, allocations: 0 / 0.5713 GB, free: 9.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.4163, allocations: 185.8 kB / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4163, allocations: 0 / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.4167, allocations: 47.92 kB / 0.5716 GB, free: 8.871 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.003563/0.4202, allocations: 1.317 MB / 0.5729 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.4219, allocations: 462.4 kB / 0.5733 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4219, allocations: 0 / 0.5733 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.4226, allocations: 175.7 kB / 0.5735 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.4231, allocations: 36.64 kB / 0.5735 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/0.4299, allocations: 2.825 MB / 0.5763 GB, free: 4.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.4304, allocations: 0.7241 MB / 0.577 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.4305, allocations: 25.41 kB / 0.577 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.4307, allocations: 59.41 kB / 0.577 GB, free: 3.234 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4307, allocations: 0 / 0.577 GB, free: 3.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4668, allocations: 5.991 MB / 0.5829 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 11.42 kB / 0.5829 GB, free: 13.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.u,d_t_new.y,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 14.982896523084491]