Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001644/0.001644, 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.002246/0.002246, allocations: 214.7 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2547/0.2547, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 83.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3834, allocations: 66.07 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00407/0.3875, allocations: 2.064 MB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3896, allocations: 1.041 MB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3897, allocations: 0 / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.3903, allocations: 255.2 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.3909, allocations: 271 kB / 0.5643 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.392, allocations: 494.8 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.3925, allocations: 342.8 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3926, allocations: 50.72 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3928, allocations: 151.4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3931, allocations: 231.2 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3932, allocations: 8 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3933, allocations: 99.95 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3935, allocations: 99.55 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3936, allocations: 127 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.394, allocations: 366.2 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.394, allocations: 0 / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.394, allocations: 0 / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3941, allocations: 0 / 0.5662 GB, free: 14.74 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008919/0.3949, allocations: 0.6282 MB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.395, allocations: 8.031 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.3951, allocations: 50.72 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.3951, allocations: 48.61 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.3955, allocations: 268.6 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3955, allocations: 4.375 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3956, allocations: 12.38 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.3958, allocations: 107.5 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3958, allocations: 11.92 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3958, allocations: 8 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3959, allocations: 0 / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.396, allocations: 71.89 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.3967, allocations: 475.4 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3969, allocations: 94.48 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.397, allocations: 28.84 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.397, allocations: 4 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3971, allocations: 34.55 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3971, allocations: 0 / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009883/0.398, allocations: 400.5 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3981, allocations: 63.34 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.3988, allocations: 0.5877 MB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3988, allocations: 29.7 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.399, allocations: 212.4 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.3991, allocations: 63.47 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.3991, allocations: 33.66 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3993, allocations: 358.8 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3994, allocations: 51.97 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3995, allocations: 51.97 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3998, allocations: 119 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3998, allocations: 0 / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003546/0.4001, allocations: 201.2 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4002, allocations: 4 kB / 0.57 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4002, allocations: 11.94 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.4002, allocations: 4 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4003, allocations: 35.98 kB / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.4003, allocations: 0 / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.4004, allocations: 7.984 kB / 0.5701 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4004, allocations: 4 kB / 0.5701 GB, free: 10.5 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 (17): * Single equations (assignments): 17 * 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.000188/0.4006, allocations: 181.7 kB / 0.5703 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.4007, allocations: 43.66 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.4012, allocations: 251.6 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4012, allocations: 0 / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4012, allocations: 0 / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4012, allocations: 0 / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008896/0.4021, allocations: 0.6144 MB / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4021, allocations: 0 / 0.5711 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4022, allocations: 39.92 kB / 0.5712 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4022, allocations: 0 / 0.5712 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4022, allocations: 8 kB / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4022, allocations: 0 / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4022, allocations: 0 / 0.5712 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.4026, allocations: 305.5 kB / 0.5715 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.4027, allocations: 47.7 kB / 0.5715 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.4027, allocations: 8 kB / 0.5715 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4029, allocations: 11.98 kB / 0.5715 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.4029, allocations: 15.91 kB / 0.5716 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4029, allocations: 8 kB / 0.5716 GB, free: 8.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005622/0.4035, allocations: 443.1 kB / 0.572 GB, free: 8.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4035, allocations: 0 / 0.572 GB, free: 8.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.4038, allocations: 51.92 kB / 0.572 GB, free: 8.418 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.003419/0.4072, allocations: 1.413 MB / 0.5734 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.4075, allocations: 135.8 kB / 0.5736 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4075, allocations: 0 / 0.5736 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.4077, allocations: 71.91 kB / 0.5736 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.4082, allocations: 80.88 kB / 0.5737 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.4123, allocations: 3.169 MB / 0.5768 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.4128, allocations: 0.8142 MB / 0.5776 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.4129, allocations: 50.25 kB / 0.5776 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.4131, allocations: 131.4 kB / 0.5778 GB, free: 2.715 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4131, allocations: 0 / 0.5778 GB, free: 2.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.4488, allocations: 7.878 MB / 0.5855 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 3.938 kB / 0.5855 GB, free: 10.86 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.149141322122887]