Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002374/0.002375, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 79.81 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003828/0.3746, allocations: 1.649 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3757, allocations: 0.5587 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3758, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.376, allocations: 38.23 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3763, allocations: 82.98 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3766, allocations: 116 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3768, allocations: 91.52 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3769, allocations: 32.55 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.377, allocations: 32.33 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.3771, allocations: 44.92 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3771, allocations: 5.375 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3772, allocations: 42.23 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.3773, allocations: 27.25 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3774, allocations: 34.47 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3776, allocations: 118 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3776, allocations: 0 / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3776, allocations: 0 / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3776, allocations: 0 / 0.5333 GB, free: 11.29 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005526/0.3782, allocations: 412.1 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3782, allocations: 9.094 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.3783, allocations: 41.08 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.3783, allocations: 9.5 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.3785, allocations: 204.4 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3785, allocations: 7.094 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3786, allocations: 8.281 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3788, allocations: 78.69 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3788, allocations: 4.938 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3788, allocations: 5.234 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3788, allocations: 1.219 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3789, allocations: 40.12 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.3794, allocations: 330.9 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3796, allocations: 72.2 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.3797, allocations: 24.47 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3797, allocations: 1.594 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3797, allocations: 31.66 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.3797, allocations: 4 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001194/0.3809, allocations: 335.9 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.381, allocations: 52.78 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3812, allocations: 167.1 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3813, allocations: 27.08 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.3813, allocations: 104.2 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.3814, allocations: 40.86 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.3815, allocations: 27.34 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3816, allocations: 321.6 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3817, allocations: 47.47 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3819, allocations: 50.09 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.3821, allocations: 112.2 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3821, allocations: 1.375 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002938/0.3824, allocations: 149.5 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3824, allocations: 4.344 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3824, allocations: 1 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3825, allocations: 1.062 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3826, allocations: 28.48 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3826, allocations: 1.125 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3827, allocations: 11.58 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3827, allocations: 2.625 kB / 0.536 GB, free: 8.961 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 (13): * Single equations (assignments): 13 * 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 0.000111/0.3828, allocations: 122.5 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.3829, allocations: 16.12 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.3833, allocations: 186.7 kB / 0.5363 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3833, allocations: 5.156 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3833, allocations: 0 / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3834, allocations: 1.25 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.384, allocations: 497.7 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.384, allocations: 1.156 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.3841, allocations: 32.77 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3841, allocations: 9.078 kB / 0.5368 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3842, allocations: 6.312 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3842, allocations: 5.156 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3842, allocations: 0 / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3845, allocations: 249.2 kB / 0.5371 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3846, allocations: 84.48 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3846, allocations: 9.078 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.3847, allocations: 7.375 kB / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3847, allocations: 13.27 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3847, allocations: 7.031 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3848, allocations: 126.9 kB / 0.5373 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3849, allocations: 1.188 kB / 0.5373 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3851, allocations: 29.88 kB / 0.5373 GB, free: 7.824 MB / 398.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 (13): * Single equations (assignments): 13 * 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.001593/0.3867, allocations: 1.129 MB / 0.5384 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.387, allocations: 109.9 kB / 0.5385 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3871, allocations: 0 / 0.5385 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3872, allocations: 60.72 kB / 0.5386 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3876, allocations: 28.11 kB / 0.5386 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.3897, allocations: 1.752 MB / 0.5403 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.39, allocations: 0.7088 MB / 0.541 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.3901, allocations: 29.06 kB / 0.541 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3902, allocations: 35.89 kB / 0.5411 GB, free: 4.613 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3902, allocations: 0 / 0.5411 GB, free: 4.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.4102, allocations: 3.289 MB / 0.5443 GB, free: 2.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.988, allocations: 10.05 kB / 0.5443 GB, free: 2.82 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches