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.001345/0.001345, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.81 kB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.331, allocations: 62.45 MB / 0.5307 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002924/0.3339, allocations: 1.684 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009941/0.3349, allocations: 0.5541 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.335, allocations: 0 / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.3353, allocations: 62.97 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3356, allocations: 103.9 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.3359, allocations: 138.7 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.3361, allocations: 85.25 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3362, allocations: 21.28 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.3362, allocations: 36.03 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3364, allocations: 59.12 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3364, allocations: 4.406 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3365, allocations: 52.45 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.3366, allocations: 29.53 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.3366, allocations: 38.55 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3368, allocations: 121.8 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3368, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3368, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3368, allocations: 0 / 0.5336 GB, free: 11.13 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.000553/0.3374, allocations: 438.3 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3374, allocations: 9.625 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.3375, allocations: 40.06 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.3375, allocations: 14.34 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3377, allocations: 204.6 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.3378, allocations: 3.125 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3378, allocations: 11.11 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.338, allocations: 67.42 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.338, allocations: 0 / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.338, allocations: 9.312 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.338, allocations: 0 / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3381, allocations: 39.34 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3386, allocations: 308.4 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3388, allocations: 67.31 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.3389, allocations: 23.97 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3389, allocations: 1.375 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3389, allocations: 35.94 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3389, allocations: 0 / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001385/0.3403, allocations: 418.2 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3404, allocations: 57.38 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3406, allocations: 216.7 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3406, allocations: 29.7 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.3407, allocations: 110.8 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3408, allocations: 32.11 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3408, allocations: 25.8 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.341, allocations: 330.3 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3411, allocations: 39.53 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3412, allocations: 48.44 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3415, allocations: 100.5 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3415, allocations: 4 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.3418, allocations: 142.5 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3418, allocations: 5.406 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3418, allocations: 3.938 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3419, allocations: 5.344 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.342, allocations: 28.44 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.342, allocations: 0 / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.3421, allocations: 14.45 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3421, allocations: 2.625 kB / 0.5363 GB, free: 8.738 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.0001047/0.3422, allocations: 125.3 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3422, allocations: 18.05 kB / 0.5365 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3426, allocations: 167.8 kB / 0.5366 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3427, allocations: 10.09 kB / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3427, allocations: 0 / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3427, allocations: 0 / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.3433, allocations: 483.5 kB / 0.5371 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3433, allocations: 0 / 0.5371 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3435, allocations: 28.77 kB / 0.5371 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3435, allocations: 5.453 kB / 0.5371 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3435, allocations: 6.75 kB / 0.5371 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3435, allocations: 1.312 kB / 0.5371 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3435, allocations: 0 / 0.5371 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.3439, allocations: 261.3 kB / 0.5374 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.3439, allocations: 92.36 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.344, allocations: 2.188 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.3441, allocations: 10.52 kB / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3441, allocations: 12.3 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3441, allocations: 3.312 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.3443, allocations: 165.2 kB / 0.5376 GB, free: 7.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3443, allocations: 5.062 kB / 0.5377 GB, free: 7.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3446, allocations: 33.73 kB / 0.5377 GB, free: 7.578 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.002149/0.3467, allocations: 1.142 MB / 0.5388 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.347, allocations: 107.2 kB / 0.5389 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3471, allocations: 0 / 0.5389 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3472, allocations: 62.11 kB / 0.539 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3476, allocations: 20.27 kB / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.3499, allocations: 1.888 MB / 0.5408 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3502, allocations: 0.7147 MB / 0.5415 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.088e-05/0.3503, allocations: 15.05 kB / 0.5415 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.3504, allocations: 42.61 kB / 0.5416 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3504, allocations: 4 kB / 0.5416 GB, free: 4.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3741, allocations: 3.491 MB / 0.545 GB, free: 2.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.122, allocations: 5.922 kB / 0.545 GB, free: 2.402 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