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.001164/0.001164, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3506, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002682/0.3533, allocations: 1.681 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.3542, allocations: 0.5706 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.3543, allocations: 5.5 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.3546, allocations: 76.02 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3549, allocations: 105.3 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3553, allocations: 177.2 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3554, allocations: 101 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3556, allocations: 23.2 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.3556, allocations: 44.33 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3557, allocations: 49.95 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3558, allocations: 8.125 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3559, allocations: 56.91 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.356, allocations: 26.92 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.356, allocations: 38.55 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3562, allocations: 121.9 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3562, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3562, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.3563, allocations: 1.375 kB / 0.5335 GB, free: 11.17 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.0005239/0.3568, allocations: 430.6 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3568, allocations: 13.62 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3569, allocations: 36.12 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3569, allocations: 14.25 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3571, allocations: 221.6 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3571, allocations: 7.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3572, allocations: 7.031 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3573, allocations: 64.86 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3574, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3574, allocations: 5.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3574, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3575, allocations: 48.36 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.358, allocations: 323.2 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3583, allocations: 64.77 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.3584, allocations: 29.72 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3584, allocations: 5.484 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3584, allocations: 31.97 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3584, allocations: 0 / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001446/0.3599, allocations: 430.1 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3599, allocations: 52.44 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3601, allocations: 220 kB / 0.5355 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3602, allocations: 25.7 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.3603, allocations: 111.1 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.3603, allocations: 39.27 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.3604, allocations: 22.62 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3605, allocations: 331.5 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3606, allocations: 55.89 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3608, allocations: 54.2 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.361, allocations: 123.4 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.361, allocations: 0.5625 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.3614, allocations: 173.3 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3614, allocations: 5.656 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3614, allocations: 0 / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3614, allocations: 4.938 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3615, allocations: 32.23 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3616, allocations: 0 / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.3616, allocations: 22.64 kB / 0.5364 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3617, allocations: 3.406 kB / 0.5364 GB, free: 8.723 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.0001004/0.3618, allocations: 131 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3618, allocations: 13.19 kB / 0.5365 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.3622, allocations: 200 kB / 0.5367 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3622, allocations: 6.5 kB / 0.5367 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3622, allocations: 4 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3623, allocations: 0 / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.3629, allocations: 0.5039 MB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3629, allocations: 1.156 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.761e-05/0.363, allocations: 24.77 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3631, allocations: 5.219 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3631, allocations: 10.11 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3631, allocations: 1.125 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3631, allocations: 1.094 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3635, allocations: 286.2 kB / 0.5376 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3635, allocations: 89.02 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3636, allocations: 2.094 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3637, allocations: 14.36 kB / 0.5377 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3638, allocations: 12.28 kB / 0.5377 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3638, allocations: 3.719 kB / 0.5377 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.364, allocations: 173.5 kB / 0.5378 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.364, allocations: 4 kB / 0.5378 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3643, allocations: 24.03 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.001544/0.3658, allocations: 1.159 MB / 0.539 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.3662, allocations: 132.2 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3662, allocations: 0 / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3663, allocations: 71.42 kB / 0.5392 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3667, allocations: 20.02 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.002778/0.3695, allocations: 1.981 MB / 0.5411 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3699, allocations: 0.7256 MB / 0.5419 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.37, allocations: 40.31 kB / 0.5419 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.3701, allocations: 42.52 kB / 0.5419 GB, free: 4.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3701, allocations: 5.406 kB / 0.5419 GB, free: 4.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3933, allocations: 3.643 MB / 0.5455 GB, free: 2.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.102, allocations: 10.22 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