Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.00136, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 206 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.378/1.378, 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.2148/0.2148, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.86 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3317, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002977/0.3347, allocations: 1.62 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.3357, allocations: 0.5396 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.3358, allocations: 1.062 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3361, allocations: 70.56 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3364, allocations: 97.34 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.3366, allocations: 95.47 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3368, allocations: 78.38 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.3369, allocations: 20.2 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.337, allocations: 30.97 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3371, allocations: 52.02 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3371, allocations: 5.844 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.3372, allocations: 46.06 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.3373, allocations: 23.42 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.3373, allocations: 28.5 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3375, allocations: 104.7 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3375, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3375, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3375, allocations: 3.938 kB / 0.5334 GB, free: 11.28 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.0005163/0.338, allocations: 414.4 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3381, allocations: 9.75 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3381, allocations: 39.59 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3382, allocations: 13.41 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.3384, allocations: 203 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3384, allocations: 6.906 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3384, allocations: 1.75 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3386, allocations: 59.36 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3386, allocations: 3.984 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3386, allocations: 1.375 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3386, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.3387, allocations: 31.03 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3391, allocations: 290.9 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3392, allocations: 47.06 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3393, allocations: 15.73 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3393, allocations: 1.375 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3393, allocations: 39.95 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3393, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008377/0.3402, allocations: 229.8 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3402, allocations: 51.41 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3404, allocations: 203.9 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3405, allocations: 31.08 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.3406, allocations: 113.5 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3406, allocations: 26.5 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3406, allocations: 23.2 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3408, allocations: 323 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.3409, allocations: 25.73 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.3409, allocations: 21.73 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3411, allocations: 68.67 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3411, allocations: 0 / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002119/0.3413, allocations: 104.2 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3414, allocations: 9.328 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3414, allocations: 0 / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3414, allocations: 1.375 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.3415, allocations: 13.34 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3415, allocations: 9.109 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.3415, allocations: 2.531 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3416, allocations: 6.938 kB / 0.5357 GB, free: 9.098 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.0001004/0.3417, allocations: 126.5 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3417, allocations: 12.72 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.342, allocations: 116.4 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.342, allocations: 5.062 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.342, allocations: 3.938 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.342, allocations: 0 / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.3426, allocations: 410.2 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3426, allocations: 1.094 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.3427, allocations: 21.52 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3427, allocations: 1.094 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3427, allocations: 1.219 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3427, allocations: 4.938 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3427, allocations: 1.062 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3429, allocations: 204.9 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.343, allocations: 87.22 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.343, allocations: 5.156 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3431, allocations: 7.547 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3432, allocations: 11.39 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3432, allocations: 6.156 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3433, allocations: 158.7 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3433, allocations: 0 / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3436, allocations: 22.27 kB / 0.5369 GB, free: 8.055 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.002085/0.3457, allocations: 1.091 MB / 0.5379 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3459, allocations: 70.67 kB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3459, allocations: 0 / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.346, allocations: 33.97 kB / 0.538 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3464, allocations: 22.23 kB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3483, allocations: 1.642 MB / 0.5397 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3486, allocations: 0.7065 MB / 0.5403 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.3487, allocations: 12.53 kB / 0.5404 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.3487, allocations: 32.73 kB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3488, allocations: 1.312 kB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3724, allocations: 3.039 MB / 0.5434 GB, free: 3.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.042, allocations: 8.391 kB / 0.5434 GB, free: 3.301 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches