Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3429, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003148/0.3461, allocations: 1.693 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3472, allocations: 0.5764 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.3473, allocations: 2.406 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.3476, allocations: 74.66 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.348, allocations: 100.8 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.3486, allocations: 181.9 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3489, allocations: 91.62 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.349, allocations: 19.23 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3491, allocations: 45.7 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3493, allocations: 53.62 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3493, allocations: 4.75 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3495, allocations: 56.47 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.3495, allocations: 26.23 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.3496, allocations: 38.3 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3499, allocations: 125.4 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3499, allocations: 1.219 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3499, allocations: 4 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3499, allocations: 0 / 0.5335 GB, free: 11.16 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.0007094/0.3507, allocations: 431.6 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3507, allocations: 9.719 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.3508, allocations: 35.97 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.3508, allocations: 15 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3511, allocations: 213.2 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3511, allocations: 2.594 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3512, allocations: 10.52 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3514, allocations: 69.92 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3514, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3514, allocations: 5.219 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3515, allocations: 5.094 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.3516, allocations: 44.08 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3522, allocations: 327.1 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3525, allocations: 61.27 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.3526, allocations: 25.38 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3526, allocations: 1.094 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3527, allocations: 31.59 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3527, allocations: 4 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001641/0.3543, allocations: 435.2 kB / 0.5352 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3544, allocations: 52.78 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3546, allocations: 222.8 kB / 0.5355 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3546, allocations: 31.08 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.3547, allocations: 109.6 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3548, allocations: 36.95 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.3548, allocations: 25.95 kB / 0.5356 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.355, allocations: 326.4 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3551, allocations: 57.27 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3553, allocations: 57.14 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.3555, allocations: 124.2 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3556, allocations: 0 / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003822/0.3559, allocations: 165.5 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.356, allocations: 5.625 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.356, allocations: 0 / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.356, allocations: 16.98 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3561, allocations: 23.45 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3562, allocations: 1 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.3562, allocations: 18.8 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3563, allocations: 2.594 kB / 0.5364 GB, free: 8.727 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.0001164/0.3564, allocations: 130.3 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.3564, allocations: 18.52 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.3569, allocations: 203.8 kB / 0.5367 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.357, allocations: 6.25 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.357, allocations: 0.5625 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.357, allocations: 0 / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/0.3578, allocations: 0.5043 MB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3578, allocations: 1.219 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3579, allocations: 28.17 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.358, allocations: 2.219 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.358, allocations: 5.125 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.358, allocations: 5.984 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.358, allocations: 0.9062 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.3585, allocations: 285.3 kB / 0.5376 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.3586, allocations: 88.98 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3586, allocations: 5.812 kB / 0.5376 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3587, allocations: 15.36 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.3587, allocations: 11.73 kB / 0.5377 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3588, allocations: 3.906 kB / 0.5377 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3589, allocations: 169.6 kB / 0.5378 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3589, allocations: 0 / 0.5378 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3592, allocations: 26.98 kB / 0.5379 GB, free: 7.516 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.001698/0.3609, allocations: 1.16 MB / 0.539 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.3613, allocations: 127.6 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3613, allocations: 0.9688 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3615, allocations: 71.83 kB / 0.5392 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3619, allocations: 23.91 kB / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.3649, allocations: 1.985 MB / 0.5412 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.3654, allocations: 0.7181 MB / 0.5419 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3655, allocations: 35.3 kB / 0.5419 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.3656, allocations: 44.47 kB / 0.5419 GB, free: 4.145 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3656, allocations: 3.938 kB / 0.5419 GB, free: 4.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3901, allocations: 3.652 MB / 0.5455 GB, free: 2.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.026, allocations: 10.03 kB / 0.5455 GB, free: 2.172 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches