Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, 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.001997/0.001997, allocations: 203.8 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.39/1.39, 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.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3287, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002742/0.3315, allocations: 1.619 MB / 0.5321 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.3324, allocations: 0.5473 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.3325, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.3327, allocations: 77.48 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.333, allocations: 107.1 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3333, allocations: 117.1 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3335, allocations: 76.45 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.3336, allocations: 21.81 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.3337, allocations: 36.64 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3338, allocations: 55.31 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3338, allocations: 2.75 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.3339, allocations: 46.23 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3339, allocations: 24.16 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.334, allocations: 33.19 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3342, allocations: 113.7 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3342, allocations: 0 / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3342, allocations: 0 / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3342, allocations: 0 / 0.5333 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004312/0.3346, allocations: 423.5 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3347, allocations: 9.625 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.3347, allocations: 36.12 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3348, allocations: 14.34 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3349, allocations: 205.2 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.335, allocations: 5.734 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.335, allocations: 1.75 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3351, allocations: 59.36 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3351, allocations: 5.375 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3352, allocations: 7.922 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3352, allocations: 1.375 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.3353, allocations: 27.05 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3356, allocations: 300.4 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3358, allocations: 44.38 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.3358, allocations: 29.19 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3358, allocations: 0 / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.3359, allocations: 31.94 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3359, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008895/0.3368, allocations: 246.6 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.3368, allocations: 56.95 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.337, allocations: 214 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3371, allocations: 25.7 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3371, allocations: 105.6 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3372, allocations: 27.16 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.3372, allocations: 24.83 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3373, allocations: 330.4 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.3374, allocations: 24.64 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.3375, allocations: 33 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3377, allocations: 72.7 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3377, allocations: 1.219 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.3379, allocations: 116.6 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3379, allocations: 5.562 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3379, allocations: 0 / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.338, allocations: 0.9688 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.3381, allocations: 17.23 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.3381, allocations: 5.562 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.3381, allocations: 2.625 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3381, allocations: 6.406 kB / 0.5357 GB, free: 9.082 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 8.697e-05/0.3382, allocations: 137.1 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3383, allocations: 13.28 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3386, allocations: 134.4 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3386, allocations: 1.469 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3386, allocations: 7.875 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3386, allocations: 0 / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.3392, allocations: 428.2 kB / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3392, allocations: 0 / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.3393, allocations: 25.61 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3393, allocations: 1.375 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3393, allocations: 1.375 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3393, allocations: 1.375 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3393, allocations: 0 / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3396, allocations: 213.4 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3396, allocations: 96 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3397, allocations: 1.188 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3397, allocations: 8.281 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3398, allocations: 10.39 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3398, allocations: 2.281 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3399, allocations: 164.3 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3399, allocations: 4 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3402, allocations: 26.77 kB / 0.537 GB, free: 8 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.001421/0.3416, allocations: 1.095 MB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3419, allocations: 78.78 kB / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3419, allocations: 0 / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.342, allocations: 52.77 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3424, allocations: 18.86 kB / 0.5382 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3442, allocations: 1.711 MB / 0.5398 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3445, allocations: 0.7075 MB / 0.5405 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.615e-05/0.3445, allocations: 21.14 kB / 0.5406 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.3446, allocations: 36.86 kB / 0.5406 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3446, allocations: 1.281 kB / 0.5406 GB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.3639, allocations: 3.15 MB / 0.5437 GB, free: 3.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.108, allocations: 8.891 kB / 0.5437 GB, free: 3.141 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches