Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001872/0.001872, allocations: 117.6 kB / 17.79 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.002143/0.002143, allocations: 199.9 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.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3548, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003385/0.3583, allocations: 1.657 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3594, allocations: 0.5417 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.998e-05/0.3596, allocations: 5.656 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3599, allocations: 92.77 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.3604, allocations: 111.7 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3608, allocations: 96.94 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.361, allocations: 95.11 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3612, allocations: 29.67 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3613, allocations: 47.08 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.3614, allocations: 52.7 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3615, allocations: 4.125 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3616, allocations: 51.59 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.3617, allocations: 29.48 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.3617, allocations: 42.55 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.362, allocations: 135.1 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.362, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.362, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3621, allocations: 1.375 kB / 0.5335 GB, free: 11.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005567/0.3626, allocations: 433 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3627, allocations: 9.625 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3627, allocations: 36.12 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3628, allocations: 15.72 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.363, allocations: 205.8 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.363, allocations: 15 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.363, allocations: 19.03 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3632, allocations: 70.23 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3632, allocations: 3.953 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3633, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3633, allocations: 1.375 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3634, allocations: 37.91 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.3639, allocations: 340.1 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.364, allocations: 58.56 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.3641, allocations: 23.22 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.3641, allocations: 1.125 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3642, allocations: 31.94 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3642, allocations: 0 / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001258/0.3654, allocations: 324.4 kB / 0.535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3655, allocations: 53.66 kB / 0.5351 GB, free: 9.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.3658, allocations: 238.5 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3659, allocations: 30.33 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.366, allocations: 115.4 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.366, allocations: 44.23 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.3661, allocations: 27.11 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3663, allocations: 327 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3664, allocations: 36.47 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.3665, allocations: 36.45 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.3667, allocations: 93.48 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3667, allocations: 0 / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003027/0.3671, allocations: 139.4 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3671, allocations: 5.5 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3671, allocations: 0 / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3671, allocations: 9.312 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3673, allocations: 28.59 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3673, allocations: 4 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.3673, allocations: 8.125 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3674, allocations: 2.625 kB / 0.5362 GB, free: 8.867 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 (13): * Single equations (assignments): 13 * 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.0001366/0.3675, allocations: 135.6 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3676, allocations: 14.31 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.3679, allocations: 160.6 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.368, allocations: 1.031 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.368, allocations: 5.062 kB / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.368, allocations: 0 / 0.5365 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.3687, allocations: 493.8 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3688, allocations: 1.406 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.3689, allocations: 23.92 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3689, allocations: 1.531 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3689, allocations: 5.375 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3689, allocations: 5.219 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3689, allocations: 1.281 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.3693, allocations: 251.2 kB / 0.5372 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.3694, allocations: 88.98 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3694, allocations: 5.156 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.3695, allocations: 10.61 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.3695, allocations: 8.953 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3696, allocations: 3.594 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3697, allocations: 178.9 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3697, allocations: 0 / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.37, allocations: 26.77 kB / 0.5375 GB, free: 7.734 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 (13): * Single equations (assignments): 13 * 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.001662/0.3717, allocations: 1.131 MB / 0.5386 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.372, allocations: 100.8 kB / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.372, allocations: 0 / 0.5387 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3722, allocations: 57.16 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3726, allocations: 19.12 kB / 0.5388 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.375, allocations: 1.847 MB / 0.5406 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3754, allocations: 0.7212 MB / 0.5413 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.888e-05/0.3754, allocations: 24.25 kB / 0.5413 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.3755, allocations: 40.2 kB / 0.5414 GB, free: 4.492 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3755, allocations: 0 / 0.5414 GB, free: 4.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.399, allocations: 3.517 MB / 0.5448 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.293, allocations: 3.906 kB / 0.5448 GB, free: 2.598 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches