Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 76.09 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 62.46 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002941/0.3183, allocations: 1.67 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.32, allocations: 1.198 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.32, allocations: 1.469 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.3202, allocations: 19.92 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3205, allocations: 89.77 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3209, allocations: 175.9 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3211, allocations: 83.97 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.3212, allocations: 17.19 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.3212, allocations: 27.48 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3214, allocations: 44.3 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3214, allocations: 4.656 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3216, allocations: 101 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.3216, allocations: 17.64 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.3217, allocations: 39.27 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3219, allocations: 153.6 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3219, allocations: 1.438 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.322, allocations: 0 / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.322, allocations: 3.938 kB / 0.5342 GB, free: 10.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005461/0.3225, allocations: 423 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3226, allocations: 9.938 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.3226, allocations: 40.23 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3227, allocations: 9.016 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3229, allocations: 205.4 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3229, allocations: 5.75 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3229, allocations: 7.062 kB / 0.5349 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3231, allocations: 78.56 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3231, allocations: 0 / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3232, allocations: 1.375 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3232, allocations: 0 / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3233, allocations: 43.34 kB / 0.535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.3237, allocations: 319 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3239, allocations: 48.42 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.324, allocations: 29.3 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.324, allocations: 5.375 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.324, allocations: 31.94 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.324, allocations: 0 / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000775/0.3248, allocations: 235.3 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.3249, allocations: 78.48 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3251, allocations: 161.1 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3251, allocations: 29.7 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.3252, allocations: 100.2 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3252, allocations: 26.53 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3253, allocations: 20.59 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3254, allocations: 321.6 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3255, allocations: 40.62 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3257, allocations: 54.48 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3259, allocations: 87.45 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3259, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003055/0.3262, allocations: 132.6 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3263, allocations: 5.094 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3263, allocations: 4.719 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3263, allocations: 1.031 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3264, allocations: 22.17 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3264, allocations: 1.406 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.3265, allocations: 18.42 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.3265, allocations: 1.406 kB / 0.5367 GB, free: 8.332 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 (7): * Single equations (assignments): 7 * 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.0001153/0.3266, allocations: 120 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.3267, allocations: 12.56 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.3271, allocations: 138.1 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3271, allocations: 5.094 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3271, allocations: 7.938 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3271, allocations: 5.094 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.3277, allocations: 414.8 kB / 0.5373 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3277, allocations: 1.156 kB / 0.5373 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.3278, allocations: 18.27 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3278, allocations: 1.188 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3278, allocations: 16.94 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3278, allocations: 0 / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3278, allocations: 1.125 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.3282, allocations: 219.5 kB / 0.5376 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.3283, allocations: 87.48 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3283, allocations: 5.031 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3284, allocations: 14.58 kB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.3284, allocations: 7.406 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3284, allocations: 1.188 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3286, allocations: 120.7 kB / 0.5378 GB, free: 7.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3286, allocations: 0 / 0.5378 GB, free: 7.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3288, allocations: 42.55 kB / 0.5379 GB, free: 7.289 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 (7): * Single equations (assignments): 7 * 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.002177/0.331, allocations: 1.15 MB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3314, allocations: 89.33 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3314, allocations: 0 / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3315, allocations: 52.22 kB / 0.5391 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3318, allocations: 18.98 kB / 0.5391 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.334, allocations: 1.646 MB / 0.5407 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3343, allocations: 0.7026 MB / 0.5414 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.3344, allocations: 28 kB / 0.5414 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.3345, allocations: 31.92 kB / 0.5415 GB, free: 4.168 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3345, allocations: 4 kB / 0.5415 GB, free: 4.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.3593, allocations: 3.593 MB / 0.545 GB, free: 2.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.457, allocations: 11.09 kB / 0.545 GB, free: 2.125 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches