Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 76.53 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09237, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002709/0.09511, allocations: 1.622 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.09598, allocations: 0.526 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.09605, allocations: 4 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.09629, allocations: 95.73 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.09658, allocations: 111.6 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.09684, allocations: 95.69 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.09699, allocations: 71.89 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.09708, allocations: 31.84 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.09714, allocations: 27.92 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.09723, allocations: 59.75 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.09725, allocations: 4 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.09734, allocations: 43.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.0974, allocations: 27.91 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.09744, allocations: 39.69 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.0976, allocations: 108 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.09761, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.09762, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.09763, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 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.0004013/0.09803, allocations: 430.8 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.09807, allocations: 8.031 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.09811, allocations: 30.75 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.09814, allocations: 16.75 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.09831, allocations: 196.1 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.09832, allocations: 8.359 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.09835, allocations: 8.375 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.09847, allocations: 53.61 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.09849, allocations: 0 / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.0985, allocations: 4 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.09851, allocations: 0 / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.0986, allocations: 31.91 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.09892, allocations: 296.7 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.09902, allocations: 46.55 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.09908, allocations: 24.88 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.0991, allocations: 0 / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.09912, allocations: 30.56 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.09913, allocations: 8 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007626/0.0999, allocations: 229 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.09994, allocations: 51.41 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1001, allocations: 231.1 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1002, allocations: 29.7 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1002, allocations: 108.1 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1002, allocations: 31.55 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1003, allocations: 21.72 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1004, allocations: 326.8 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.1005, allocations: 19.98 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.1006, allocations: 27.97 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1007, allocations: 72.94 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1007, allocations: 0 / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000195/0.1009, allocations: 101.6 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1009, allocations: 6.656 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1009, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.101, allocations: 3.938 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.101, allocations: 19.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1011, allocations: 7.938 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1011, allocations: 8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1011, allocations: 3.984 kB / 485.4 MB, free: 15.66 MB / 366.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 8.112e-05/0.1012, allocations: 125.8 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.1013, allocations: 15.81 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.1015, allocations: 119 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1015, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1015, allocations: 7.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1015, allocations: 3.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.102, allocations: 411.2 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.102, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.1021, allocations: 23.86 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1021, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1021, allocations: 4.031 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1021, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1021, allocations: 4 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1023, allocations: 196.3 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1024, allocations: 88.86 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1024, allocations: 8 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.1025, allocations: 15.98 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.1025, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1025, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1027, allocations: 184.3 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1027, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1029, allocations: 15.94 kB / 486.6 MB, free: 14.34 MB / 366.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.001292/0.1042, allocations: 1.091 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1044, allocations: 75.88 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1044, allocations: 0 / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.1045, allocations: 35.92 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1048, allocations: 23.36 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.1064, allocations: 1.696 MB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1067, allocations: 0.7118 MB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.1068, allocations: 16.95 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1068, allocations: 31.42 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1068, allocations: 96 / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.295/2.402, allocations: 3.113 MB / 493.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/14.1, allocations: 11.48 kB / 493.4 MB, free: 7.629 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches