Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002104/0.002104, allocations: 204.5 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.13 MB / 344.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 75.88 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3293, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002928/0.3323, allocations: 1.624 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.3332, allocations: 0.5668 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.3333, allocations: 0 / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.3338, allocations: 449.7 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.3343, allocations: 292.9 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3347, allocations: 172.1 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.3349, allocations: 172.7 kB / 0.5338 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.335, allocations: 19.19 kB / 0.5338 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3352, allocations: 115.4 kB / 0.5339 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.3354, allocations: 211.2 kB / 0.5341 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3354, allocations: 2.75 kB / 0.5341 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.3355, allocations: 31.09 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.3356, allocations: 75.58 kB / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.3357, allocations: 111.4 kB / 0.5343 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.336, allocations: 268.1 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3361, allocations: 0 / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3361, allocations: 1.125 kB / 0.5346 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3361, allocations: 0 / 0.5346 GB, free: 10.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007788/0.3369, allocations: 0.6573 MB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3369, allocations: 10.22 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3369, allocations: 31.78 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.337, allocations: 43.09 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3373, allocations: 311.9 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3373, allocations: 9.688 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.3373, allocations: 3.031 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3375, allocations: 62.78 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3375, allocations: 1.062 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3375, allocations: 0 / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3376, allocations: 1.125 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3377, allocations: 36.25 kB / 0.5357 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.3383, allocations: 402.3 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3384, allocations: 51.52 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.3385, allocations: 23.81 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3385, allocations: 0.875 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3385, allocations: 31.25 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3386, allocations: 4.812 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000353/0.3389, allocations: 130.5 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.339, allocations: 51.41 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/0.3399, allocations: 0.868 MB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3399, allocations: 26.73 kB / 0.5373 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.3401, allocations: 215.6 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3401, allocations: 13.94 kB / 0.5375 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3402, allocations: 16.75 kB / 0.5375 GB, free: 8.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3404, allocations: 372.4 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.3405, allocations: 18.23 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.3406, allocations: 14.11 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3407, allocations: 44.17 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3407, allocations: 0 / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.3409, allocations: 116.8 kB / 0.538 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.341, allocations: 9.406 kB / 0.538 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.341, allocations: 4 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.341, allocations: 1 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3411, allocations: 10.73 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3411, allocations: 7.922 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.3412, allocations: 8.203 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3412, allocations: 1 kB / 0.5381 GB, free: 7.809 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 (3): * Single equations (assignments): 3 * 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.0002453/0.3414, allocations: 218.7 kB / 0.5383 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.3415, allocations: 41.66 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.3418, allocations: 128.1 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3418, allocations: 0 / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3418, allocations: 0 / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3419, allocations: 5.453 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.3422, allocations: 294.1 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3423, allocations: 1.469 kB / 0.5387 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.3423, allocations: 14.08 kB / 0.5387 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3423, allocations: 1.656 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3424, allocations: 0 / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3424, allocations: 3.938 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3424, allocations: 5.266 kB / 0.5388 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3427, allocations: 211.3 kB / 0.539 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3428, allocations: 118.4 kB / 0.5391 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3428, allocations: 5.562 kB / 0.5391 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.3429, allocations: 2.875 kB / 0.5391 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.3429, allocations: 1 kB / 0.5391 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3429, allocations: 5.766 kB / 0.5391 GB, free: 6.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.3437, allocations: 0.654 MB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3437, allocations: 0 / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3439, allocations: 21.59 kB / 0.5397 GB, free: 6.629 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 (3): * Single equations (assignments): 3 * 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.001776/0.3457, allocations: 0.9926 MB / 0.5407 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3459, allocations: 44.55 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3459, allocations: 0 / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.346, allocations: 26.45 kB / 0.5408 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.3464, allocations: 31.77 kB / 0.5408 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.3505, allocations: 3.22 MB / 0.544 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.351, allocations: 0.8221 MB / 0.5448 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.351, allocations: 19.73 kB / 0.5448 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3512, allocations: 111.4 kB / 0.5449 GB, free: 2.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3512, allocations: 0 / 0.5449 GB, free: 2.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3795, allocations: 5.812 MB / 0.5506 GB, free: 12.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.811, allocations: 10.2 kB / 0.5506 GB, free: 12.93 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches