Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001439/0.001439, allocations: 116.4 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.001566/0.001566, allocations: 214.9 kB / 23.75 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.566/1.566, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.261/0.261, allocations: 46.93 MB / 360.8 MB, free: 4.168 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 75.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3885, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003862/0.3923, allocations: 1.687 MB / 0.5624 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3936, allocations: 0.581 MB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.3937, allocations: 4 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000736/0.3944, allocations: 455.1 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.395, allocations: 295.3 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3954, allocations: 127.1 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.3957, allocations: 175.6 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3959, allocations: 13.81 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.396, allocations: 119.7 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.3963, allocations: 243.5 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3964, allocations: 4 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.3965, allocations: 67.89 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3966, allocations: 79.7 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3968, allocations: 106.9 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.3972, allocations: 282.4 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3972, allocations: 0 / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3972, allocations: 4 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3972, allocations: 0 / 0.5649 GB, free: 68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001036/0.3983, allocations: 0.6009 MB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.3983, allocations: 8.031 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.3984, allocations: 38.75 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.3985, allocations: 40.66 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3988, allocations: 250.7 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3988, allocations: 4.375 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3989, allocations: 384 / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.399, allocations: 58.23 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3991, allocations: 3.938 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3991, allocations: 4 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3991, allocations: 4 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3992, allocations: 35.91 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3998, allocations: 371.8 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3999, allocations: 42.59 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.4, allocations: 12.86 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.4, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4, allocations: 46.64 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4, allocations: 0 / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001045/0.4011, allocations: 312.8 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4011, allocations: 51.41 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4022, allocations: 0.8776 MB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4022, allocations: 29.7 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4024, allocations: 228.1 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.4025, allocations: 23.75 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.4025, allocations: 21.72 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.4028, allocations: 362.7 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.4029, allocations: 31.97 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.4029, allocations: 23.98 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4031, allocations: 64.77 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4031, allocations: 7.938 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002793/0.4034, allocations: 133.4 kB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4034, allocations: 4 kB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4034, allocations: 0 / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4034, allocations: 0 / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4035, allocations: 23.98 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4035, allocations: 0 / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.4036, allocations: 7.938 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4036, allocations: 11.98 kB / 0.5685 GB, free: 12.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002354/0.4038, allocations: 215 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.4039, allocations: 47.67 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.4043, allocations: 157.9 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4043, allocations: 4 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4043, allocations: 7.984 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4043, allocations: 3.938 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.405, allocations: 478.3 kB / 0.5693 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.405, allocations: 0 / 0.5693 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.4051, allocations: 27.95 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4051, allocations: 3.938 kB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4051, allocations: 0 / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.4051, allocations: 4 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4051, allocations: 0 / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.4054, allocations: 240 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.4055, allocations: 47.64 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.4055, allocations: 4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.4056, allocations: 4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4056, allocations: 11.92 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4057, allocations: 4 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007281/0.4064, allocations: 0.6589 MB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4064, allocations: 0 / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.4067, allocations: 31.94 kB / 0.5703 GB, free: 10.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002385/0.4091, allocations: 1.134 MB / 0.5714 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.4093, allocations: 63.91 kB / 0.5715 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4093, allocations: 0 / 0.5715 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4094, allocations: 31.92 kB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4098, allocations: 26.3 kB / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.4141, allocations: 3.345 MB / 0.5748 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.4147, allocations: 0.8221 MB / 0.5756 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.067e-05/0.4148, allocations: 20.41 kB / 0.5756 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4149, allocations: 111.4 kB / 0.5758 GB, free: 4.617 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4149, allocations: 0 / 0.5758 GB, free: 4.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.4488, allocations: 6.554 MB / 0.5822 GB, free: 14.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.06, allocations: 4 kB / 0.5822 GB, free: 14.09 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 15.282257822109386]