Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 122.8 kB / 17.79 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.001998/0.001998, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 79.81 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3117, allocations: 62.43 MB / 0.5305 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002912/0.3146, allocations: 1.679 MB / 0.5322 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3157, allocations: 0.5794 MB / 0.5327 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.3158, allocations: 1.281 kB / 0.5327 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3161, allocations: 53.89 kB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3164, allocations: 95.66 kB / 0.5329 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.317, allocations: 181.7 kB / 0.5331 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3172, allocations: 83.41 kB / 0.5331 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3173, allocations: 23.25 kB / 0.5332 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.3174, allocations: 38.75 kB / 0.5332 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3175, allocations: 44.3 kB / 0.5332 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3175, allocations: 4.562 kB / 0.5332 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3176, allocations: 49.52 kB / 0.5333 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3177, allocations: 19.3 kB / 0.5333 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.3178, allocations: 42.5 kB / 0.5333 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.318, allocations: 117.8 kB / 0.5335 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.318, allocations: 1.375 kB / 0.5335 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.318, allocations: 0 / 0.5335 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.318, allocations: 0 / 0.5335 GB, free: 11.41 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.0005482/0.3186, allocations: 416 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3186, allocations: 9.625 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3187, allocations: 44.05 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3187, allocations: 14.25 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3189, allocations: 204.4 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.3189, allocations: 5.75 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.319, allocations: 3.125 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3192, allocations: 68.84 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3192, allocations: 5.375 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3192, allocations: 4 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3192, allocations: 1.375 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3194, allocations: 40.66 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.3198, allocations: 328.5 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3201, allocations: 60.77 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.3202, allocations: 34.59 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3202, allocations: 4 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3202, allocations: 31.94 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3203, allocations: 0 / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.3218, allocations: 434.3 kB / 0.5351 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.3218, allocations: 52.44 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.322, allocations: 180.3 kB / 0.5353 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.322, allocations: 29.7 kB / 0.5353 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.3221, allocations: 109.4 kB / 0.5354 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.3221, allocations: 32.25 kB / 0.5355 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3222, allocations: 33.39 kB / 0.5355 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3223, allocations: 323.3 kB / 0.5358 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3224, allocations: 56.42 kB / 0.5359 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3226, allocations: 52.78 kB / 0.5359 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3229, allocations: 131.9 kB / 0.536 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3229, allocations: 0 / 0.536 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003549/0.3232, allocations: 161.6 kB / 0.5362 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3233, allocations: 5.062 kB / 0.5362 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3233, allocations: 0 / 0.5362 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3233, allocations: 5.438 kB / 0.5362 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3234, allocations: 31.41 kB / 0.5362 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3234, allocations: 5.156 kB / 0.5362 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.3235, allocations: 10.23 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3235, allocations: 2.406 kB / 0.5363 GB, free: 9.008 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.0001055/0.3237, allocations: 128.7 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3237, allocations: 16.56 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.3241, allocations: 194.1 kB / 0.5366 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3242, allocations: 5.312 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3242, allocations: 1.312 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3242, allocations: 3.938 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.3249, allocations: 0.4942 MB / 0.5371 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3249, allocations: 4.062 kB / 0.5371 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.325, allocations: 28.77 kB / 0.5371 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.325, allocations: 1.094 kB / 0.5371 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.325, allocations: 7.016 kB / 0.5371 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.325, allocations: 192 / 0.5371 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.325, allocations: 5.375 kB / 0.5371 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.3254, allocations: 284.7 kB / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3255, allocations: 88.33 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3255, allocations: 2.219 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3256, allocations: 10.45 kB / 0.5375 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3257, allocations: 12.36 kB / 0.5375 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3257, allocations: 8.312 kB / 0.5375 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3258, allocations: 148.2 kB / 0.5377 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3258, allocations: 0 / 0.5377 GB, free: 7.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3261, allocations: 23.25 kB / 0.5377 GB, free: 7.824 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.001531/0.3276, allocations: 1.156 MB / 0.5388 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.328, allocations: 132 kB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.328, allocations: 1.125 kB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.3282, allocations: 70.33 kB / 0.539 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3285, allocations: 27.19 kB / 0.539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.3308, allocations: 1.894 MB / 0.5409 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3311, allocations: 0.7223 MB / 0.5416 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.3312, allocations: 36.17 kB / 0.5416 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.3313, allocations: 38.77 kB / 0.5416 GB, free: 4.496 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3313, allocations: 1.094 kB / 0.5416 GB, free: 4.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.3509, allocations: 3.469 MB / 0.545 GB, free: 2.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.955, allocations: 14.94 kB / 0.5451 GB, free: 2.602 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches