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.00133/0.00133, allocations: 117.6 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.001306/0.001306, allocations: 199.9 kB / 18.74 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.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.88 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003437/0.3276, allocations: 1.687 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3287, allocations: 0.5773 MB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.3288, allocations: 0 / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.329, allocations: 76.06 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.3293, allocations: 97.09 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3298, allocations: 190.4 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.33, allocations: 91.56 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3301, allocations: 19.23 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.3301, allocations: 44.33 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3303, allocations: 55.31 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3303, allocations: 4.125 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3304, allocations: 56.91 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.3305, allocations: 25.55 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3305, allocations: 42.55 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3307, allocations: 123.1 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3307, allocations: 0 / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3307, allocations: 1.375 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3308, allocations: 4 kB / 0.5337 GB, free: 11.07 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.0005692/0.3313, allocations: 438.3 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3314, allocations: 9.625 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.3314, allocations: 41.38 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3315, allocations: 14.34 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3317, allocations: 213.8 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3317, allocations: 1.75 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3317, allocations: 3.125 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3319, allocations: 80.83 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3319, allocations: 1.375 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.332, allocations: 3.938 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.332, allocations: 1.375 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3321, allocations: 44.7 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3326, allocations: 330.4 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3328, allocations: 64.89 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.3329, allocations: 27.16 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.333, allocations: 0 / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.333, allocations: 36.16 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.333, allocations: 0 / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001631/0.3346, allocations: 426.5 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3347, allocations: 57.62 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3351, allocations: 222.5 kB / 0.5356 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.3352, allocations: 31.2 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3353, allocations: 105.5 kB / 0.5357 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.3353, allocations: 40.53 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.3354, allocations: 26.39 kB / 0.5358 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3357, allocations: 327.1 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3359, allocations: 56.02 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3361, allocations: 58.2 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.3365, allocations: 123.4 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3365, allocations: 0 / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005227/0.3371, allocations: 165.2 kB / 0.5365 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3371, allocations: 5.406 kB / 0.5365 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3371, allocations: 5.094 kB / 0.5365 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3371, allocations: 3.938 kB / 0.5365 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3373, allocations: 32.09 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3374, allocations: 1.25 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3375, allocations: 14.7 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3375, allocations: 2.062 kB / 0.5365 GB, free: 8.621 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.0001602/0.3377, allocations: 135.2 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.3377, allocations: 14.41 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.3384, allocations: 200 kB / 0.5369 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3384, allocations: 5.312 kB / 0.5369 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3385, allocations: 1.094 kB / 0.5369 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3385, allocations: 0 / 0.5369 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3396, allocations: 0.5122 MB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3396, allocations: 1.062 kB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3398, allocations: 24.2 kB / 0.5374 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3398, allocations: 1.094 kB / 0.5374 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3398, allocations: 6.156 kB / 0.5374 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3398, allocations: 1.031 kB / 0.5374 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.3398, allocations: 5.047 kB / 0.5374 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.3405, allocations: 279 kB / 0.5377 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.3406, allocations: 92.31 kB / 0.5378 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3406, allocations: 5.812 kB / 0.5378 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3408, allocations: 10.98 kB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.3409, allocations: 13.02 kB / 0.5378 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3409, allocations: 3.531 kB / 0.5378 GB, free: 7.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.3411, allocations: 169.4 kB / 0.538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3411, allocations: 0 / 0.538 GB, free: 7.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.3416, allocations: 31.33 kB / 0.538 GB, free: 7.414 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.003188/0.3448, allocations: 1.165 MB / 0.5391 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.3454, allocations: 129.2 kB / 0.5392 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3454, allocations: 0 / 0.5392 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.3457, allocations: 72.23 kB / 0.5393 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.3463, allocations: 27.77 kB / 0.5393 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.3502, allocations: 1.981 MB / 0.5413 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.3508, allocations: 0.7218 MB / 0.542 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.3509, allocations: 35.8 kB / 0.542 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3511, allocations: 42.94 kB / 0.5421 GB, free: 4.039 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3511, allocations: 3.938 kB / 0.5421 GB, free: 4.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.3837, allocations: 3.623 MB / 0.5456 GB, free: 2.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.54, allocations: 20.62 kB / 0.5456 GB, free: 2.07 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