Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 205.2 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.377/1.377, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003018/0.3354, allocations: 1.658 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3372, allocations: 1.2 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.3373, allocations: 7.25 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.3375, allocations: 30.09 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.3378, allocations: 85.61 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3382, allocations: 169.1 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3384, allocations: 83.38 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3385, allocations: 17.61 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.3386, allocations: 30.86 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3388, allocations: 44.08 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3388, allocations: 4.125 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.339, allocations: 100.1 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.339, allocations: 22.8 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.3391, allocations: 33.28 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.3394, allocations: 159.5 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3394, allocations: 0 / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3394, allocations: 0 / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3394, allocations: 1.375 kB / 0.5342 GB, free: 10.63 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.000617/0.34, allocations: 418.3 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3401, allocations: 9.625 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.3401, allocations: 32.12 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3401, allocations: 17 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3404, allocations: 207.1 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.3404, allocations: 1.75 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3404, allocations: 7.109 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3406, allocations: 86.5 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3407, allocations: 1.375 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.3407, allocations: 0 / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3407, allocations: 1.375 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3408, allocations: 42.41 kB / 0.535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.3413, allocations: 311.3 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3415, allocations: 49.05 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.3415, allocations: 29.03 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.3416, allocations: 9.188 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3416, allocations: 35.34 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3416, allocations: 0 / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000835/0.3425, allocations: 230.5 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3425, allocations: 83.45 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3427, allocations: 152.8 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3427, allocations: 26.77 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3428, allocations: 107.5 kB / 0.536 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3428, allocations: 23.19 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.3429, allocations: 20.5 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3431, allocations: 325.1 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3432, allocations: 37.03 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3433, allocations: 53.83 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3436, allocations: 95.69 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3436, allocations: 4 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003089/0.3439, allocations: 121.2 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.344, allocations: 5.094 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.344, allocations: 0 / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.344, allocations: 1 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3441, allocations: 19.27 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3441, allocations: 0 / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.3442, allocations: 22.8 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3442, allocations: 5.375 kB / 0.5367 GB, free: 8.34 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.0001172/0.3444, allocations: 120.7 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3444, allocations: 12.03 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3448, allocations: 146.5 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3448, allocations: 5.281 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3448, allocations: 0 / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3448, allocations: 5.375 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.3455, allocations: 414.3 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3455, allocations: 1.219 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.3456, allocations: 22 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3456, allocations: 5.125 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3456, allocations: 4.844 kB / 0.5374 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3456, allocations: 0 / 0.5374 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3456, allocations: 1.094 kB / 0.5374 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.346, allocations: 220.2 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.3461, allocations: 91.33 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3461, allocations: 8.969 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.3462, allocations: 10.42 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3462, allocations: 3.094 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3462, allocations: 2.438 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3464, allocations: 127.6 kB / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 0 / 0.5378 GB, free: 7.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3467, allocations: 43.02 kB / 0.5379 GB, free: 7.293 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.002318/0.349, allocations: 1.152 MB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.3493, allocations: 89.61 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3494, allocations: 4 kB / 0.5391 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3495, allocations: 48.17 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.0003588/0.3499, allocations: 26.39 kB / 0.5391 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3522, allocations: 1.634 MB / 0.5407 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.3526, allocations: 0.7065 MB / 0.5414 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.347e-05/0.3527, allocations: 23.16 kB / 0.5414 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.3528, allocations: 35.86 kB / 0.5415 GB, free: 4.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3528, allocations: 1.531 kB / 0.5415 GB, free: 4.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.3788, allocations: 3.592 MB / 0.545 GB, free: 2.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.312, allocations: 8.969 kB / 0.545 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches