Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 197.2 kB / 18.73 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.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00311/0.3354, allocations: 1.651 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3365, allocations: 0.5773 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.3366, allocations: 1.312 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.3372, allocations: 453.1 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.3376, allocations: 293 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3381, allocations: 180.6 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3384, allocations: 174.5 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3385, allocations: 21.59 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3386, allocations: 105.9 kB / 0.534 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.3389, allocations: 211.4 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3389, allocations: 3.438 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.339, allocations: 41.12 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3391, allocations: 82.88 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3392, allocations: 103.9 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3396, allocations: 271.3 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3396, allocations: 1.156 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.039e-06/0.3396, allocations: 7.984 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3396, allocations: 0 / 0.5347 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.0007766/0.3404, allocations: 0.6597 MB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3404, allocations: 9.75 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.3405, allocations: 35.92 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.3405, allocations: 44.34 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3409, allocations: 312.1 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3409, allocations: 1.531 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.341, allocations: 3.031 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3411, allocations: 64.17 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3411, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3412, allocations: 3.984 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3412, allocations: 1.438 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3413, allocations: 28.78 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.3419, allocations: 410 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3421, allocations: 49.5 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3422, allocations: 15.44 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3422, allocations: 1.125 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3422, allocations: 31.62 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.296e-06/0.3422, allocations: 0 / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006648/0.3429, allocations: 250.2 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3429, allocations: 51.41 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.3439, allocations: 0.8829 MB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3439, allocations: 25.7 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3441, allocations: 230.3 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3441, allocations: 18.25 kB / 0.5377 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3442, allocations: 18.41 kB / 0.5377 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3443, allocations: 363.8 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.3444, allocations: 27.62 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.3445, allocations: 25.33 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.3447, allocations: 51.73 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3447, allocations: 0 / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002266/0.3449, allocations: 127 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3449, allocations: 7.969 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3449, allocations: 0 / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3449, allocations: 1 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.345, allocations: 13.95 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.345, allocations: 3.938 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.3451, allocations: 7.281 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3451, allocations: 2.25 kB / 0.5383 GB, free: 7.691 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 (5): * Single equations (assignments): 5 * 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.0002001/0.3453, allocations: 214.6 kB / 0.5385 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3454, allocations: 50.08 kB / 0.5386 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.3457, allocations: 144 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3457, allocations: 0 / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3457, allocations: 1.094 kB / 0.5387 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3457, allocations: 3.938 kB / 0.5387 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.3463, allocations: 470 kB / 0.5392 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3463, allocations: 8.297 kB / 0.5392 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.3464, allocations: 13.09 kB / 0.5392 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3464, allocations: 4.906 kB / 0.5392 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3464, allocations: 4.938 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3464, allocations: 0 / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3464, allocations: 0.9688 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.3467, allocations: 230.5 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.3468, allocations: 115 kB / 0.5395 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.3469, allocations: 7.875 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.347, allocations: 7.406 kB / 0.5395 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.347, allocations: 6.141 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.347, allocations: 2.219 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006369/0.3476, allocations: 0.6596 MB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3477, allocations: 1.438 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3479, allocations: 31.02 kB / 0.5402 GB, free: 6.328 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 (5): * Single equations (assignments): 5 * 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.001956/0.3499, allocations: 1.058 MB / 0.5413 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3501, allocations: 50.61 kB / 0.5413 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3501, allocations: 5.094 kB / 0.5413 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.3502, allocations: 25.64 kB / 0.5413 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3507, allocations: 28.45 kB / 0.5414 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.3547, allocations: 3.279 MB / 0.5446 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.3553, allocations: 0.8259 MB / 0.5454 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.3554, allocations: 20.66 kB / 0.5454 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3555, allocations: 115.4 kB / 0.5455 GB, free: 2.117 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3555, allocations: 0 / 0.5455 GB, free: 2.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3836, allocations: 6.111 MB / 0.5515 GB, free: 12.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.676, allocations: 4.016 kB / 0.5515 GB, free: 12.07 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches