Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 118.2 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.00198/0.00198, allocations: 198 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.528/1.528, 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.2191/0.2191, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3564, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00312/0.3596, allocations: 1.595 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.3606, allocations: 0.5413 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3606, allocations: 3.656 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3609, allocations: 23.34 kB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.3612, allocations: 76.88 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3615, allocations: 112.6 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3617, allocations: 54.03 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3618, allocations: 18.86 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.3619, allocations: 32.03 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.362, allocations: 18.75 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.362, allocations: 2.75 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.3621, allocations: 36.27 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.3621, allocations: 16.25 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3622, allocations: 20.75 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3624, allocations: 79.73 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3624, allocations: 4 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3624, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3624, allocations: 4.938 kB / 0.5331 GB, free: 11.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005456/0.363, allocations: 387.7 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.363, allocations: 8.969 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.3631, allocations: 32.41 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.3631, allocations: 12.42 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3633, allocations: 189 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3633, allocations: 5.531 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3634, allocations: 6.469 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3635, allocations: 52.42 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3635, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3635, allocations: 1.344 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3636, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.3637, allocations: 25.95 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.364, allocations: 288.2 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3643, allocations: 44.66 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.3644, allocations: 19.47 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3644, allocations: 1.125 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3644, allocations: 35.69 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3644, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005997/0.365, allocations: 150.8 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3651, allocations: 56.47 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3652, allocations: 158.4 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3653, allocations: 29.7 kB / 0.5345 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.3653, allocations: 92.05 kB / 0.5346 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3653, allocations: 17.28 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3654, allocations: 18.31 kB / 0.5347 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3655, allocations: 328.5 kB / 0.535 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3656, allocations: 20.92 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.3657, allocations: 20.48 kB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3658, allocations: 51.92 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3658, allocations: 4 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.366, allocations: 90.45 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.366, allocations: 7.5 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3661, allocations: 0 / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3661, allocations: 1.688 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.3662, allocations: 18.08 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3662, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.3662, allocations: 2.875 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3662, allocations: 5.344 kB / 0.5352 GB, free: 9.402 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 (5): * Single equations (assignments): 5 * 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.538e-05/0.3663, allocations: 122.8 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3664, allocations: 11.69 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.3666, allocations: 96.78 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3666, allocations: 5.312 kB / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3666, allocations: 0 / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3667, allocations: 5.359 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3671, allocations: 354.6 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3671, allocations: 4 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.3672, allocations: 9.625 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3672, allocations: 1.375 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.3672, allocations: 0 / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3672, allocations: 9.297 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3672, allocations: 0 / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3674, allocations: 187.4 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.3675, allocations: 86.48 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3675, allocations: 5.375 kB / 0.5361 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.3676, allocations: 6.688 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3676, allocations: 10.67 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3676, allocations: 1.375 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.144e-05/0.3677, allocations: 116 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3677, allocations: 1.375 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.368, allocations: 21.55 kB / 0.5362 GB, free: 8.441 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001332/0.3693, allocations: 1.008 MB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3695, allocations: 51.59 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3696, allocations: 4 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3697, allocations: 32.41 kB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.37, allocations: 15.16 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3717, allocations: 1.464 MB / 0.5387 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.372, allocations: 0.696 MB / 0.5394 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.372, allocations: 15.89 kB / 0.5394 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.3721, allocations: 28.27 kB / 0.5394 GB, free: 5.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3721, allocations: 0 / 0.5394 GB, free: 5.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.391, allocations: 2.568 MB / 0.5419 GB, free: 4.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.993, allocations: 7.781 kB / 0.542 GB, free: 4.051 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches