Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.4 MB, free: 9.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 72.11 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09349, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002599/0.09612, allocations: 1.665 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.09757, allocations: 1.132 MB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.09764, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.09785, allocations: 31.84 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.09813, allocations: 67.83 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.09841, allocations: 98.94 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.09854, allocations: 67.83 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.09864, allocations: 16 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.09869, allocations: 23.86 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.09883, allocations: 47.77 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.09885, allocations: 4 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.09902, allocations: 95.94 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.09906, allocations: 8 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.0991, allocations: 31.78 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.09932, allocations: 132 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09933, allocations: 0 / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09934, allocations: 0 / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.09935, allocations: 0 / 483 MB, free: 2.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004482/0.0998, allocations: 407.1 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.09984, allocations: 12.03 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.09988, allocations: 34.75 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.09992, allocations: 8.844 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1001, allocations: 192.2 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1001, allocations: 384 / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1001, allocations: 4.375 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1003, allocations: 75.27 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1003, allocations: 4 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1003, allocations: 0 / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1003, allocations: 0 / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.1004, allocations: 23.98 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1008, allocations: 284.9 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.101, allocations: 50.48 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.101, allocations: 16.86 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1011, allocations: 4.078 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1011, allocations: 34.56 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1011, allocations: 0 / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005243/0.1016, allocations: 157.2 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1017, allocations: 77.11 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1018, allocations: 148 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1018, allocations: 25.7 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.1019, allocations: 96.12 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1019, allocations: 15.72 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1019, allocations: 21.66 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1021, allocations: 322.8 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.1021, allocations: 23.98 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.1022, allocations: 33.7 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1024, allocations: 60.75 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1024, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1026, allocations: 77.67 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1026, allocations: 8.031 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1026, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1026, allocations: 4.266 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.1027, allocations: 8 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1027, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.1027, allocations: 15.83 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1028, allocations: 4 kB / 485.2 MB, free: 15.62 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 (5): * Single equations (assignments): 5 * 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 7.122e-05/0.1028, allocations: 117.8 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1029, allocations: 11.98 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1031, allocations: 106 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1031, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1031, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1031, allocations: 7.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.1035, allocations: 362.5 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1035, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.1036, allocations: 11.98 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1036, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1036, allocations: 7.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1036, allocations: 3.984 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1036, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1038, allocations: 187.4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.1039, allocations: 81.11 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1039, allocations: 3.938 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.104, allocations: 7.984 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.104, allocations: 7.938 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.104, allocations: 0 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.1041, allocations: 115.2 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1041, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1044, allocations: 36 kB / 486.3 MB, free: 14.46 MB / 366.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 (5): * Single equations (assignments): 5 * 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.00131/0.1057, allocations: 1.099 MB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1059, allocations: 63.83 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1059, allocations: 0 / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.106, allocations: 27.98 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1063, allocations: 22.92 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1077, allocations: 1.456 MB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1079, allocations: 0.6924 MB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.108, allocations: 20.2 kB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.1081, allocations: 23.42 kB / 489.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1081, allocations: 0 / 489.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.774/0.882, allocations: 3.078 MB / 492.7 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.8823, allocations: 244 kB / 493 MB, free: 7.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/3.901, allocations: 0 / 493 MB, free: 7.852 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches