Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 77.03 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.0905, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.0026/0.09313, allocations: 1.653 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.09458, allocations: 1.14 MB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.09464, allocations: 0 / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.09485, allocations: 23.91 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.09511, allocations: 75.77 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09539, allocations: 95.81 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.09555, allocations: 67.83 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.09567, allocations: 15.98 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.09574, allocations: 27.86 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.09591, allocations: 43.83 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.09594, allocations: 4 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.09612, allocations: 103.9 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.09618, allocations: 11.94 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.09623, allocations: 27.84 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.09648, allocations: 124 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09649, allocations: 0 / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.0965, allocations: 0 / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09651, allocations: 0 / 483 MB, free: 2.078 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.000523/0.09703, allocations: 411.1 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.09708, allocations: 16.03 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.09712, allocations: 30.75 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.09716, allocations: 8.844 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.09737, allocations: 198.7 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.09738, allocations: 384 / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.09741, allocations: 4.375 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.09757, allocations: 67.33 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.09759, allocations: 0 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.0976, allocations: 4 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.09762, allocations: 4 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.09771, allocations: 23.92 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.09815, allocations: 280.9 kB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.09837, allocations: 46.55 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.09844, allocations: 20.8 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.09847, allocations: 4.078 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.0985, allocations: 38.56 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.0985, allocations: 0 / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005705/0.09908, allocations: 149.2 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.09915, allocations: 85.05 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.09929, allocations: 147.9 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.09931, allocations: 25.7 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.09936, allocations: 96.12 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.09939, allocations: 15.72 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.09943, allocations: 21.66 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.09954, allocations: 326.8 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.09962, allocations: 19.98 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.0997, allocations: 37.69 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.09983, allocations: 52.83 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.09984, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001857/0.1, allocations: 81.86 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1001, allocations: 8 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1001, allocations: 8.016 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1001, allocations: 7.984 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.1002, allocations: 8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1002, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1002, allocations: 15.83 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1002, allocations: 4 kB / 485.2 MB, free: 15.61 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.439e-05/0.1003, allocations: 113.8 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.1004, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.1006, allocations: 109.7 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1006, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1006, allocations: 0 / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1006, allocations: 7.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.101, allocations: 358.5 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.101, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.1011, allocations: 20.2 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1011, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1011, allocations: 3.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1011, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1011, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1014, allocations: 183.4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1014, allocations: 81.11 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1014, allocations: 11.94 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1015, allocations: 7.922 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.1015, allocations: 4 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1015, allocations: 192 / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.1016, allocations: 117.4 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1016, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1019, allocations: 32 kB / 486.3 MB, free: 14.47 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.001326/0.1032, allocations: 1.103 MB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1034, allocations: 63.89 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1035, allocations: 0 / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.1035, allocations: 31.92 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.0002992/0.1038, allocations: 26.91 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.001408/0.1053, allocations: 1.452 MB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.1055, allocations: 0.6924 MB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.1056, allocations: 19.92 kB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.1056, allocations: 23.42 kB / 489.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1056, allocations: 0 / 489.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6307/0.7363, allocations: 3.073 MB / 492.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.7366, allocations: 242.9 kB / 493 MB, free: 7.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/3.83, allocations: 0 / 493 MB, free: 7.855 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches