Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 206 kB / 18.74 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.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.4 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.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 87.86 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3436, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003643/0.3473, allocations: 2.04 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3498, allocations: 1.349 MB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3499, allocations: 6.781 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.3503, allocations: 49.73 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.3508, allocations: 217.8 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3522, allocations: 0.5996 MB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.3526, allocations: 312.7 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.3528, allocations: 75.08 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.353, allocations: 139.8 kB / 0.5353 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3533, allocations: 186.2 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.3533, allocations: 17.03 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3535, allocations: 68.67 kB / 0.5355 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3537, allocations: 140.2 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.3539, allocations: 179.7 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.3544, allocations: 421.5 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3544, allocations: 0 / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3545, allocations: 3.938 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3545, allocations: 1.125 kB / 0.5363 GB, free: 9.203 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001165/0.3556, allocations: 0.8231 MB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3557, allocations: 12.88 kB / 0.5371 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.3557, allocations: 39 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.356, allocations: 81.48 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.3567, allocations: 498.1 kB / 0.5377 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3568, allocations: 4.469 kB / 0.5377 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.3568, allocations: 19.72 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.3571, allocations: 156.2 kB / 0.5378 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3571, allocations: 0 / 0.5378 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3572, allocations: 5.156 kB / 0.5378 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3572, allocations: 3.969 kB / 0.5378 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3574, allocations: 87.44 kB / 0.5379 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3584, allocations: 0.7129 MB / 0.5386 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.3587, allocations: 117 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3588, allocations: 41.33 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3588, allocations: 6.062 kB / 0.5388 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3589, allocations: 44.64 kB / 0.5388 GB, free: 7.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3589, allocations: 0 / 0.5388 GB, free: 7.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001514/0.3604, allocations: 0.5692 MB / 0.5394 GB, free: 6.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3605, allocations: 82.77 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3616, allocations: 0.9324 MB / 0.5404 GB, free: 6.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3617, allocations: 26.8 kB / 0.5404 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.3619, allocations: 274 kB / 0.5407 GB, free: 5.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.362, allocations: 62.25 kB / 0.5407 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.3621, allocations: 33.52 kB / 0.5408 GB, free: 5.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3622, allocations: 315.2 kB / 0.5411 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3624, allocations: 67.7 kB / 0.5411 GB, free: 5.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3626, allocations: 80.78 kB / 0.5412 GB, free: 5.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.363, allocations: 159.8 kB / 0.5413 GB, free: 5.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.363, allocations: 1.094 kB / 0.5413 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005442/0.3636, allocations: 244.7 kB / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3636, allocations: 5.406 kB / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3636, allocations: 0 / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3636, allocations: 1.375 kB / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.3638, allocations: 44.16 kB / 0.5416 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3638, allocations: 1.156 kB / 0.5416 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.364, allocations: 12.7 kB / 0.5416 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.364, allocations: 9.438 kB / 0.5417 GB, free: 5.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002357/0.3643, allocations: 219.3 kB / 0.5419 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3644, allocations: 61.95 kB / 0.5419 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.3651, allocations: 293 kB / 0.5422 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3651, allocations: 6.312 kB / 0.5422 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3651, allocations: 0 / 0.5422 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3651, allocations: 0.9375 kB / 0.5422 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3664, allocations: 0.8186 MB / 0.543 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3664, allocations: 0 / 0.543 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3665, allocations: 43.28 kB / 0.543 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3666, allocations: 2.344 kB / 0.543 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3666, allocations: 10.36 kB / 0.5431 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3666, allocations: 5.062 kB / 0.5431 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3666, allocations: 0 / 0.5431 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.3672, allocations: 430.8 kB / 0.5435 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.3674, allocations: 155.6 kB / 0.5436 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.3674, allocations: 1.188 kB / 0.5436 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3676, allocations: 19.23 kB / 0.5436 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3677, allocations: 14.47 kB / 0.5437 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3677, allocations: 8.438 kB / 0.5437 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008388/0.3686, allocations: 0.6824 MB / 0.5443 GB, free: 3.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3686, allocations: 0 / 0.5443 GB, free: 3.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.369, allocations: 55.94 kB / 0.5444 GB, free: 3.219 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 (16): * Single equations (assignments): 16 * 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.002356/0.3713, allocations: 1.251 MB / 0.5456 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004786/0.3719, allocations: 163.8 kB / 0.5458 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3719, allocations: 0 / 0.5458 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3721, allocations: 87.89 kB / 0.5458 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.3727, allocations: 87.98 kB / 0.5459 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/0.3799, allocations: 5.207 MB / 0.551 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.3805, allocations: 0.8765 MB / 0.5519 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.3808, allocations: 95.2 kB / 0.552 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.3811, allocations: 175.4 kB / 0.5521 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3811, allocations: 8 kB / 0.5521 GB, free: 11.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4163, allocations: 10.11 MB / 0.562 GB, free: 1.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.799/9.216, allocations: 8.891 kB / 0.562 GB, free: 1.238 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches