Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00201/0.00201, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002927/0.3531, allocations: 1.592 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.3541, allocations: 0.5461 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3542, allocations: 1.562 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3544, allocations: 19.59 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.3547, allocations: 83.91 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3551, allocations: 110 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3552, allocations: 61.45 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.3553, allocations: 11.66 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.3554, allocations: 32.69 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.3555, allocations: 26.45 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3555, allocations: 2.5 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.3556, allocations: 28.44 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3556, allocations: 20.69 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.3557, allocations: 16.22 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3558, allocations: 89.25 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3558, allocations: 1.688 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3559, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3559, allocations: 0 / 0.5331 GB, free: 11.44 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.0004364/0.3563, allocations: 380 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3563, allocations: 14.48 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3564, allocations: 30.75 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.3564, allocations: 8.375 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3566, allocations: 197.2 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3566, allocations: 2.219 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3567, allocations: 6.125 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.3568, allocations: 52.38 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3568, allocations: 0 / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3568, allocations: 0 / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3568, allocations: 5.75 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3569, allocations: 34.23 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3574, allocations: 275 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3576, allocations: 44.75 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.3577, allocations: 19.81 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3577, allocations: 1.375 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3578, allocations: 35.88 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3578, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006026/0.3584, allocations: 149.9 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3584, allocations: 52.78 kB / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3586, allocations: 161.3 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3586, allocations: 27.08 kB / 0.5345 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.3587, allocations: 94.83 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.3587, allocations: 18.55 kB / 0.5346 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3588, allocations: 13.84 kB / 0.5346 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3589, allocations: 325.5 kB / 0.535 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.359, allocations: 18.98 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.3591, allocations: 24.55 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3593, allocations: 54.95 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3593, allocations: 1.375 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.3595, allocations: 90.5 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3595, allocations: 5.5 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3595, allocations: 0 / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3595, allocations: 1.375 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3596, allocations: 17.61 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3596, allocations: 0 / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.3597, allocations: 4.125 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3597, allocations: 9.297 kB / 0.5352 GB, free: 9.406 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 (5): * Single equations (assignments): 5 * 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 7.881e-05/0.3598, allocations: 114 kB / 0.5353 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3598, allocations: 8.031 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3601, allocations: 108.2 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3601, allocations: 5.375 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3601, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3601, allocations: 1.375 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.3606, allocations: 358.6 kB / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3606, allocations: 0 / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.3606, allocations: 13.61 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3606, allocations: 1.375 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3607, allocations: 5.5 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3607, allocations: 15.88 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3607, allocations: 0 / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3609, allocations: 178.9 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.361, allocations: 82.33 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.361, allocations: 1.344 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3611, allocations: 15.17 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.3611, allocations: 10 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3611, allocations: 1.188 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3612, allocations: 124.9 kB / 0.5362 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3612, allocations: 0 / 0.5362 GB, free: 8.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3615, allocations: 15.16 kB / 0.5362 GB, free: 8.441 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 (5): * Single equations (assignments): 5 * 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.001419/0.3629, allocations: 1.005 MB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3632, allocations: 55.33 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3632, allocations: 0 / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.3633, allocations: 29.23 kB / 0.5373 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3637, allocations: 25.62 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3657, allocations: 1.458 MB / 0.5387 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.366, allocations: 0.6992 MB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3661, allocations: 16.48 kB / 0.5394 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.3661, allocations: 19.81 kB / 0.5394 GB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3661, allocations: 5.469 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3857, allocations: 2.593 MB / 0.542 GB, free: 4.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.943, allocations: 4.797 kB / 0.542 GB, free: 4.039 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches