Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.11 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 76.16 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002986/0.3249, allocations: 1.615 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.326, allocations: 0.5495 MB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.3261, allocations: 0 / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3265, allocations: 121.9 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.3268, allocations: 127.8 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3272, allocations: 118.7 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.3274, allocations: 92.77 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3275, allocations: 20.14 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.3276, allocations: 50.25 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3277, allocations: 86.36 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3278, allocations: 3.25 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3279, allocations: 49.48 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.3279, allocations: 35.23 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.328, allocations: 35.28 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3282, allocations: 119.1 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3283, allocations: 0 / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3283, allocations: 0 / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3283, allocations: 1.344 kB / 0.5336 GB, free: 11.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005984/0.3289, allocations: 445 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3289, allocations: 12.91 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.329, allocations: 35.94 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.329, allocations: 19.98 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3293, allocations: 213.2 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3293, allocations: 5.875 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3293, allocations: 2.75 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3295, allocations: 51.41 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3295, allocations: 1.188 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3295, allocations: 4 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3295, allocations: 1.156 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3297, allocations: 35.94 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.3301, allocations: 304.4 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3302, allocations: 51.28 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.3303, allocations: 13.83 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3303, allocations: 4.062 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3304, allocations: 47.86 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3304, allocations: 0 / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008945/0.3313, allocations: 248.6 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3313, allocations: 60.78 kB / 0.5351 GB, free: 9.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3316, allocations: 279.1 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3316, allocations: 25.7 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.3317, allocations: 112.4 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.3317, allocations: 30.48 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.3318, allocations: 20.59 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3319, allocations: 327 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.332, allocations: 28.31 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.3321, allocations: 33.11 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3323, allocations: 82.17 kB / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3323, allocations: 0 / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002375/0.3325, allocations: 118 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3325, allocations: 9.438 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3326, allocations: 3.938 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3326, allocations: 1.062 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3327, allocations: 21.7 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.3327, allocations: 4.938 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.3328, allocations: 7.391 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3328, allocations: 2.406 kB / 0.5361 GB, free: 8.906 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 (8): * Single equations (assignments): 8 * 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.0001234/0.3329, allocations: 134.1 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.3329, allocations: 18.72 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.3333, allocations: 135.7 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3333, allocations: 1.406 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3333, allocations: 3.938 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3333, allocations: 1.438 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3339, allocations: 431.5 kB / 0.5368 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3339, allocations: 5.047 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.334, allocations: 17.34 kB / 0.5368 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.334, allocations: 5.062 kB / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.334, allocations: 5.109 kB / 0.5369 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.334, allocations: 5.062 kB / 0.5369 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.334, allocations: 1.125 kB / 0.5369 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3343, allocations: 209.7 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.3344, allocations: 93.52 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3344, allocations: 5.125 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.3345, allocations: 15.33 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.3345, allocations: 3.562 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3345, allocations: 2.312 kB / 0.5372 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.3347, allocations: 208.3 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3347, allocations: 1.156 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.335, allocations: 19.59 kB / 0.5374 GB, free: 7.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002097/0.3371, allocations: 1.113 MB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3373, allocations: 75.64 kB / 0.5386 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3373, allocations: 0 / 0.5386 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.3374, allocations: 40.56 kB / 0.5386 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3378, allocations: 26.25 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3399, allocations: 1.85 MB / 0.5404 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3403, allocations: 0.7224 MB / 0.5411 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.3404, allocations: 28.56 kB / 0.5412 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.3405, allocations: 37.61 kB / 0.5412 GB, free: 4.602 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3405, allocations: 3.938 kB / 0.5412 GB, free: 4.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.3632, allocations: 3.438 MB / 0.5446 GB, free: 2.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.13, allocations: 9.984 kB / 0.5446 GB, free: 2.738 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches