Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 122.8 kB / 17.78 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.001916/0.001916, allocations: 198 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, 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.2094/0.2094, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 79.81 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003148/0.3641, allocations: 1.69 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3652, allocations: 0.5795 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.3653, allocations: 1.375 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3655, allocations: 60.55 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3659, allocations: 102 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3663, allocations: 172.8 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3665, allocations: 93.92 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3666, allocations: 23.42 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.3667, allocations: 36.25 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3668, allocations: 49.77 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3668, allocations: 3.656 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.367, allocations: 57.62 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.367, allocations: 24.84 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.3671, allocations: 38.34 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3673, allocations: 115.5 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3673, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3673, allocations: 5.406 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3674, allocations: 0 / 0.5335 GB, free: 11.18 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.0005831/0.3679, allocations: 429.1 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.368, allocations: 9.531 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.368, allocations: 35.88 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3681, allocations: 13.64 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3683, allocations: 206.4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3683, allocations: 9.859 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3683, allocations: 3.656 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3685, allocations: 72.81 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3685, allocations: 0 / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3686, allocations: 5.656 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3686, allocations: 0 / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3687, allocations: 46.12 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.3692, allocations: 325.2 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3695, allocations: 64.2 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.3696, allocations: 29.88 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3696, allocations: 1.719 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3697, allocations: 30.56 kB / 0.5347 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3697, allocations: 4 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001463/0.3712, allocations: 431.2 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3712, allocations: 52.78 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3714, allocations: 199.7 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3714, allocations: 31.08 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.3715, allocations: 113.5 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3715, allocations: 39.3 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3716, allocations: 22.56 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3717, allocations: 322.2 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3718, allocations: 56.23 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.372, allocations: 54.2 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.3722, allocations: 127.8 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3722, allocations: 0 / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003306/0.3726, allocations: 165.2 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3726, allocations: 5.719 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3726, allocations: 0 / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3726, allocations: 9.062 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3728, allocations: 28.08 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3728, allocations: 0 / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.3728, allocations: 10.95 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3729, allocations: 2.312 kB / 0.5363 GB, free: 8.766 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.0001026/0.373, allocations: 133.2 kB / 0.5365 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.373, allocations: 13.5 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.3734, allocations: 203.3 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3735, allocations: 5.062 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3735, allocations: 1.125 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3735, allocations: 0 / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.3742, allocations: 0.4983 MB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3742, allocations: 1.156 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3743, allocations: 23.95 kB / 0.5372 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3744, allocations: 2.281 kB / 0.5372 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3744, allocations: 5.281 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.3744, allocations: 6.062 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3744, allocations: 1.281 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.3748, allocations: 284.7 kB / 0.5375 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.3749, allocations: 92.34 kB / 0.5375 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3749, allocations: 5.375 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.375, allocations: 14.98 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3751, allocations: 12.33 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3751, allocations: 4 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3752, allocations: 155.1 kB / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3752, allocations: 0 / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3755, allocations: 27.81 kB / 0.5378 GB, free: 7.562 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.001636/0.3772, allocations: 1.151 MB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3775, allocations: 128.3 kB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3776, allocations: 0 / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3777, allocations: 71.27 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3781, allocations: 27.45 kB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.3807, allocations: 1.924 MB / 0.541 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.381, allocations: 0.7152 MB / 0.5417 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.3812, allocations: 39.61 kB / 0.5417 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3812, allocations: 39.05 kB / 0.5418 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3812, allocations: 0 / 0.5418 GB, free: 4.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.4045, allocations: 3.528 MB / 0.5452 GB, free: 2.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.039, allocations: 10.73 kB / 0.5452 GB, free: 2.316 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches