Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001332, allocations: 121.6 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.001272/0.001272, allocations: 203.9 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.36/1.36, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003093/0.3466, allocations: 1.653 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3477, allocations: 0.5609 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.3478, allocations: 1.344 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3481, allocations: 93.95 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.3484, allocations: 119.3 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.3488, allocations: 114.7 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.349, allocations: 100.4 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3491, allocations: 27.86 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.3492, allocations: 42.94 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3493, allocations: 62.06 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3494, allocations: 5.5 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3495, allocations: 50.22 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.3496, allocations: 34.8 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.3497, allocations: 39.92 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3499, allocations: 128.5 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3499, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3499, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3499, allocations: 4 kB / 0.5336 GB, free: 11.15 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.0006643/0.3506, allocations: 442.3 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3507, allocations: 13.56 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.3507, allocations: 45.42 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.3508, allocations: 15.72 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.351, allocations: 201.9 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.351, allocations: 7.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3511, allocations: 8.484 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.3513, allocations: 79.59 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3513, allocations: 3.953 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3513, allocations: 5.375 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3513, allocations: 1.375 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3515, allocations: 44.66 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.352, allocations: 347.4 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3522, allocations: 72.69 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.3523, allocations: 23.84 kB / 0.5349 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3523, allocations: 5.375 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3523, allocations: 31.94 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3523, allocations: 0 / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001144/0.3535, allocations: 346.4 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3535, allocations: 53.75 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3538, allocations: 238.8 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3538, allocations: 25.7 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.3539, allocations: 116 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.354, allocations: 44.11 kB / 0.5357 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.354, allocations: 39.83 kB / 0.5357 GB, free: 9.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3542, allocations: 323.4 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3543, allocations: 43.41 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3545, allocations: 45.16 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3547, allocations: 113.8 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3547, allocations: 0 / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000298/0.355, allocations: 154.9 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3551, allocations: 5.906 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3551, allocations: 3.938 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3551, allocations: 1.031 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3552, allocations: 37.22 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3552, allocations: 0 / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.3553, allocations: 3.969 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3553, allocations: 2.375 kB / 0.5364 GB, free: 8.711 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.0001386/0.3555, allocations: 140.6 kB / 0.5366 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3555, allocations: 14.31 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.356, allocations: 193.5 kB / 0.5367 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.356, allocations: 1.094 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.356, allocations: 1.094 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.356, allocations: 0 / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.3568, allocations: 0.4971 MB / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3568, allocations: 0 / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.3569, allocations: 29.27 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3569, allocations: 1.125 kB / 0.5373 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3569, allocations: 5.125 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3569, allocations: 1.375 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3569, allocations: 1.281 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3573, allocations: 261.8 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.3574, allocations: 94.02 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3575, allocations: 5.406 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.3575, allocations: 6.609 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3576, allocations: 13.22 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3576, allocations: 7.453 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3578, allocations: 182.8 kB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 0 / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3581, allocations: 32.17 kB / 0.5378 GB, free: 7.535 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.002403/0.3605, allocations: 1.131 MB / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3608, allocations: 117 kB / 0.5391 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3609, allocations: 4 kB / 0.5391 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.361, allocations: 60.25 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3614, allocations: 24.08 kB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3639, allocations: 1.921 MB / 0.541 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3643, allocations: 0.7274 MB / 0.5417 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.546e-05/0.3644, allocations: 25.31 kB / 0.5418 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.3645, allocations: 44.14 kB / 0.5418 GB, free: 4.242 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3645, allocations: 0 / 0.5418 GB, free: 4.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.389, allocations: 3.598 MB / 0.5453 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.178, allocations: 16.33 kB / 0.5453 GB, free: 2.297 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches