Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3249, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002893/0.3278, allocations: 1.593 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3294, allocations: 1.167 MB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.3295, allocations: 1.312 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3297, allocations: 28.17 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.33, allocations: 86.89 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.3303, allocations: 112.9 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3304, allocations: 59.41 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.3305, allocations: 18.8 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.3306, allocations: 33.47 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3308, allocations: 30.86 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3308, allocations: 4.125 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3309, allocations: 96.17 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.331, allocations: 14.67 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.331, allocations: 29.3 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.3313, allocations: 138.1 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3313, allocations: 3.984 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3313, allocations: 1.375 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3313, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.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.000487/0.3318, allocations: 403.5 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3319, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3319, allocations: 36.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3319, allocations: 7.641 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3321, allocations: 197.8 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3322, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3322, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3323, allocations: 69.08 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3324, allocations: 4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3324, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3324, allocations: 9.25 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.3325, allocations: 25.72 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3329, allocations: 284.2 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3331, allocations: 48.42 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.3331, allocations: 15.83 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3331, allocations: 5.359 kB / 0.535 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3332, allocations: 31.94 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3332, allocations: 0 / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005413/0.3337, allocations: 154.5 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.3338, allocations: 78.02 kB / 0.5353 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3339, allocations: 144.2 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.334, allocations: 25.7 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.334, allocations: 99.5 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3341, allocations: 17.95 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3341, allocations: 18.44 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3343, allocations: 325.4 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.3343, allocations: 23.55 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.3344, allocations: 40.91 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.3346, allocations: 50.95 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3346, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.3348, allocations: 84 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3348, allocations: 9.844 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3348, allocations: 3.984 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3348, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.3349, allocations: 14.38 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3349, allocations: 0 / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.335, allocations: 15.55 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.335, allocations: 2.125 kB / 0.5361 GB, free: 8.66 MB / 398.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 8.638e-05/0.3351, allocations: 114.4 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.3351, allocations: 7.328 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3354, allocations: 104.2 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3354, allocations: 1.188 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3354, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3354, allocations: 3.938 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.3358, allocations: 359.9 kB / 0.5367 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3359, allocations: 3.938 kB / 0.5367 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3359, allocations: 17.27 kB / 0.5367 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3359, allocations: 1.094 kB / 0.5367 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3359, allocations: 5.062 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3359, allocations: 192 / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.336, allocations: 5.156 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.3362, allocations: 186.3 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.3363, allocations: 87 kB / 0.537 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3363, allocations: 9 kB / 0.537 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.3364, allocations: 7.078 kB / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3364, allocations: 6.438 kB / 0.537 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3364, allocations: 1 kB / 0.537 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.3365, allocations: 117.2 kB / 0.5371 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3365, allocations: 0 / 0.5371 GB, free: 7.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3368, allocations: 40.14 kB / 0.5372 GB, free: 7.688 MB / 398.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.002044/0.3389, allocations: 1.094 MB / 0.5382 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.3391, allocations: 55.55 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3391, allocations: 0 / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.3392, allocations: 24.86 kB / 0.5383 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3395, allocations: 32.38 kB / 0.5383 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3412, allocations: 1.448 MB / 0.5397 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3415, allocations: 0.6982 MB / 0.5404 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.3416, allocations: 30.45 kB / 0.5405 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.3416, allocations: 25.73 kB / 0.5405 GB, free: 4.711 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3416, allocations: 0.7188 kB / 0.5405 GB, free: 4.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.3661, allocations: 3.243 MB / 0.5436 GB, free: 2.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.125, allocations: 15.78 kB / 0.5437 GB, free: 2.836 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches