Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 83.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3661, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003366/0.3696, allocations: 1.595 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3706, allocations: 0.5289 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.3707, allocations: 3.938 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.371, allocations: 25.27 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3713, allocations: 79.8 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.3715, allocations: 94.55 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3717, allocations: 61.83 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3718, allocations: 15.17 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.3718, allocations: 20.31 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.3719, allocations: 23.2 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3719, allocations: 1.625 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.372, allocations: 36.72 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.3721, allocations: 12.06 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3721, allocations: 27.92 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3723, allocations: 86.84 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3723, allocations: 1.375 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3723, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3723, allocations: 0 / 0.5331 GB, free: 11.44 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.0005052/0.3728, allocations: 385.2 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3729, allocations: 9.625 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.3729, allocations: 32.12 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.373, allocations: 12.97 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3732, allocations: 198.5 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3732, allocations: 5.688 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3732, allocations: 3.125 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3734, allocations: 55.22 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3734, allocations: 4 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3734, allocations: 1.375 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3734, allocations: 0 / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.3735, allocations: 21.73 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.3739, allocations: 276.2 kB / 0.534 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3741, allocations: 43 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.3742, allocations: 19.75 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.3742, allocations: 3.984 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3743, allocations: 35.84 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3743, allocations: 4 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005466/0.3748, allocations: 150 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3749, allocations: 56.33 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.375, allocations: 166.4 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3751, allocations: 25.7 kB / 0.5345 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3751, allocations: 100.9 kB / 0.5346 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3751, allocations: 12.97 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3752, allocations: 17.89 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3753, allocations: 321.3 kB / 0.5349 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.3754, allocations: 19.2 kB / 0.535 GB, free: 9.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.3754, allocations: 18.61 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3756, allocations: 47.84 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3756, allocations: 0 / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.3758, allocations: 84.81 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3758, allocations: 5.75 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3758, allocations: 0 / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3758, allocations: 1.219 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.3759, allocations: 13.11 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3759, allocations: 5.312 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.3759, allocations: 2.812 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.376, allocations: 5.375 kB / 0.5351 GB, free: 9.418 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.488e-05/0.3761, allocations: 123.2 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3761, allocations: 11.72 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.3763, allocations: 90.59 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3763, allocations: 0 / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3764, allocations: 5.094 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3764, allocations: 0 / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.3768, allocations: 356.3 kB / 0.5357 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3768, allocations: 64 / 0.5357 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3769, allocations: 13.31 kB / 0.5357 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3769, allocations: 4.969 kB / 0.5357 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3769, allocations: 5.172 kB / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3769, allocations: 0 / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3769, allocations: 0 / 0.5357 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3771, allocations: 176.9 kB / 0.5359 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.3772, allocations: 82.08 kB / 0.536 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3772, allocations: 9.188 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.3773, allocations: 6.734 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.3773, allocations: 2.25 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3773, allocations: 1.406 kB / 0.536 GB, free: 8.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.514e-05/0.3774, allocations: 128.7 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3774, allocations: 7.938 kB / 0.5361 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3777, allocations: 13.7 kB / 0.5361 GB, free: 8.469 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.001278/0.379, allocations: 1.014 MB / 0.5371 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3792, allocations: 51.41 kB / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3792, allocations: 0 / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.3793, allocations: 28.47 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3796, allocations: 16.89 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3812, allocations: 1.459 MB / 0.5386 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3815, allocations: 0.6958 MB / 0.5393 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.3815, allocations: 13.12 kB / 0.5393 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3816, allocations: 29.05 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3816, allocations: 0 / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.402, allocations: 2.601 MB / 0.5419 GB, free: 4.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.187, allocations: 6.391 kB / 0.5419 GB, free: 4.07 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches