Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001407/0.001407, allocations: 122.8 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.001581/0.001581, allocations: 198 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.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3233, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002924/0.3263, allocations: 1.684 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3273, allocations: 0.5567 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.3274, allocations: 1.031 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.3277, allocations: 66.55 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.328, allocations: 104.6 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.3284, allocations: 133.9 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3286, allocations: 85.22 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3288, allocations: 26.77 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.3288, allocations: 35.72 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.329, allocations: 55.97 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.329, allocations: 2.906 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3291, allocations: 52.86 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.3292, allocations: 22.48 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.3292, allocations: 45.73 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3295, allocations: 127.4 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3295, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3295, allocations: 1.812 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3295, allocations: 0 / 0.5335 GB, free: 11.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006049/0.3301, allocations: 430 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3302, allocations: 9.625 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3302, allocations: 36.12 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.3303, allocations: 18.25 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3305, allocations: 208.3 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.3305, allocations: 1.75 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3305, allocations: 4.5 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3307, allocations: 66.09 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3307, allocations: 5.375 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3308, allocations: 0 / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3308, allocations: 1.375 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.3309, allocations: 43.28 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.3314, allocations: 312.3 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.3316, allocations: 53.97 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.3317, allocations: 29.34 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3318, allocations: 5.375 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3318, allocations: 35.92 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3318, allocations: 0 / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001439/0.3332, allocations: 393.1 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.3333, allocations: 62.02 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3335, allocations: 215.8 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3335, allocations: 26.8 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.3336, allocations: 109.9 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3336, allocations: 43.81 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.3337, allocations: 25.33 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3338, allocations: 326.8 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3339, allocations: 48.41 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.334, allocations: 39.94 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.3343, allocations: 95.5 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3343, allocations: 5.078 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003236/0.3346, allocations: 141.9 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3347, allocations: 6.094 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3347, allocations: 3.938 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3347, allocations: 5.094 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3349, allocations: 32.64 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3349, allocations: 3.984 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.335, allocations: 10.78 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.335, allocations: 2.25 kB / 0.5362 GB, free: 8.84 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 (11): * Single equations (assignments): 11 * 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.0001122/0.3351, allocations: 133.8 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3351, allocations: 14.06 kB / 0.5363 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.3356, allocations: 176 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3356, allocations: 5.156 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3356, allocations: 9.141 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3356, allocations: 4 kB / 0.5365 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006851/0.3363, allocations: 474.7 kB / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3363, allocations: 1.188 kB / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3364, allocations: 27.55 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3364, allocations: 2.062 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3364, allocations: 6.625 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3364, allocations: 0 / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3364, allocations: 1.281 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.3368, allocations: 264 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3369, allocations: 89.41 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3369, allocations: 5.531 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.337, allocations: 10.08 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.337, allocations: 9.672 kB / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.3371, allocations: 6.562 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3372, allocations: 165.3 kB / 0.5375 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3372, allocations: 1.062 kB / 0.5375 GB, free: 7.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3375, allocations: 25.91 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001479/0.3389, allocations: 1.137 MB / 0.5387 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3393, allocations: 110.5 kB / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3393, allocations: 0 / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3394, allocations: 59.25 kB / 0.5388 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3398, allocations: 23.89 kB / 0.5388 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.342, allocations: 1.894 MB / 0.5407 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3423, allocations: 0.7142 MB / 0.5414 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.3423, allocations: 15.14 kB / 0.5414 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.3424, allocations: 38.33 kB / 0.5414 GB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3424, allocations: 1.594 kB / 0.5414 GB, free: 4.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3612, allocations: 3.511 MB / 0.5449 GB, free: 2.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.942, allocations: 3.984 kB / 0.5449 GB, free: 2.504 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches