Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001171, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 202 kB / 18.73 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.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.45 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.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.89 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.359, allocations: 62.44 MB / 0.5305 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002758/0.3618, allocations: 1.594 MB / 0.5321 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.3627, allocations: 0.5443 MB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.3628, allocations: 3.938 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.363, allocations: 23.58 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3633, allocations: 82.78 kB / 0.5327 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.3635, allocations: 108 kB / 0.5328 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3637, allocations: 62.02 kB / 0.5329 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.3638, allocations: 18.86 kB / 0.5329 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.3638, allocations: 29.42 kB / 0.5329 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.3639, allocations: 21.36 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3639, allocations: 2.75 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.364, allocations: 28.5 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.3641, allocations: 21.28 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.3641, allocations: 21.53 kB / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.3643, allocations: 85.88 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3643, allocations: 0.9062 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3643, allocations: 4 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3643, allocations: 0.8438 kB / 0.5331 GB, free: 11.29 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.0004402/0.3647, allocations: 384.7 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3648, allocations: 10.62 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.3648, allocations: 30.75 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.3649, allocations: 8.469 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.365, allocations: 200.6 kB / 0.5337 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3651, allocations: 5.656 kB / 0.5337 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3651, allocations: 1.719 kB / 0.5337 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3652, allocations: 52.94 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3652, allocations: 0 / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3653, allocations: 1.438 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3653, allocations: 0 / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.3654, allocations: 30.16 kB / 0.5338 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3657, allocations: 279.8 kB / 0.5341 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3659, allocations: 49.52 kB / 0.5341 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.366, allocations: 15.86 kB / 0.5341 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.366, allocations: 5 kB / 0.5341 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3661, allocations: 35.7 kB / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3661, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005538/0.3666, allocations: 166.4 kB / 0.5343 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3667, allocations: 56.52 kB / 0.5344 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3668, allocations: 163 kB / 0.5345 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3668, allocations: 25.7 kB / 0.5346 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.3669, allocations: 96.81 kB / 0.5347 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3669, allocations: 17.42 kB / 0.5347 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.367, allocations: 21.83 kB / 0.5347 GB, free: 9.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3671, allocations: 325.6 kB / 0.535 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.3672, allocations: 23.27 kB / 0.535 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3672, allocations: 20.73 kB / 0.535 GB, free: 9.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3674, allocations: 51.36 kB / 0.5351 GB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3674, allocations: 0 / 0.5351 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001901/0.3676, allocations: 92.19 kB / 0.5352 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3676, allocations: 4.969 kB / 0.5352 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3676, allocations: 0 / 0.5352 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3676, allocations: 1.219 kB / 0.5352 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.3677, allocations: 13.58 kB / 0.5352 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3677, allocations: 3.938 kB / 0.5352 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.3678, allocations: 7.406 kB / 0.5352 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3678, allocations: 2.562 kB / 0.5352 GB, free: 9.246 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 9.119e-05/0.3679, allocations: 118.7 kB / 0.5353 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3679, allocations: 15.97 kB / 0.5353 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3682, allocations: 97.47 kB / 0.5354 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3682, allocations: 5.359 kB / 0.5354 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3682, allocations: 3.938 kB / 0.5354 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3682, allocations: 0 / 0.5354 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3686, allocations: 353.7 kB / 0.5358 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3686, allocations: 8.062 kB / 0.5358 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.3687, allocations: 13.61 kB / 0.5358 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3687, allocations: 3.938 kB / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3687, allocations: 1.375 kB / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3687, allocations: 3.938 kB / 0.5358 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3687, allocations: 1.375 kB / 0.5358 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.369, allocations: 181.8 kB / 0.536 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.369, allocations: 87.77 kB / 0.5361 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.369, allocations: 3.938 kB / 0.5361 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.3691, allocations: 4.125 kB / 0.5361 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3692, allocations: 5.359 kB / 0.5361 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3692, allocations: 1.375 kB / 0.5361 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.3693, allocations: 128.1 kB / 0.5362 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3693, allocations: 0 / 0.5362 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3695, allocations: 15 kB / 0.5362 GB, free: 8.293 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.0013/0.3708, allocations: 1.024 MB / 0.5372 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.371, allocations: 51.58 kB / 0.5373 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3711, allocations: 4 kB / 0.5373 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.3711, allocations: 32.77 kB / 0.5373 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3715, allocations: 17.39 kB / 0.5373 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3731, allocations: 1.48 MB / 0.5388 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3735, allocations: 0.697 MB / 0.5394 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.3736, allocations: 23.77 kB / 0.5395 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.3737, allocations: 24.98 kB / 0.5395 GB, free: 5.336 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3737, allocations: 0 / 0.5395 GB, free: 5.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.3935, allocations: 2.636 MB / 0.5421 GB, free: 3.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.029, allocations: 13.69 kB / 0.5421 GB, free: 3.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches