Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001568/0.001568, 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.00147/0.00147, 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.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001516, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3728, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004083/0.3769, allocations: 1.595 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3782, allocations: 0.5309 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3783, allocations: 1.344 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3786, allocations: 20.67 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.379, allocations: 83.8 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3795, allocations: 90.33 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3797, allocations: 62.58 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3798, allocations: 13.36 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.3799, allocations: 24.84 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.38, allocations: 22.98 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.38, allocations: 1.812 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3801, allocations: 42.19 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.3802, allocations: 10.19 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.3802, allocations: 20.52 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3805, allocations: 87.28 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3805, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3805, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3805, allocations: 0 / 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.0006236/0.3811, allocations: 388.7 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3812, allocations: 9.531 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.3813, allocations: 34.75 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3813, allocations: 9.828 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3815, allocations: 188.7 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3816, allocations: 2.781 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3816, allocations: 384 / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3817, allocations: 52.12 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3818, allocations: 3.984 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3818, allocations: 1.375 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3818, allocations: 0 / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3819, allocations: 33.66 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3824, allocations: 274.7 kB / 0.534 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.3826, allocations: 39.06 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.3827, allocations: 19.67 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3827, allocations: 5.406 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3827, allocations: 38.55 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3827, allocations: 1.375 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000624/0.3834, allocations: 136.5 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3834, allocations: 52.78 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3836, allocations: 159 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3836, allocations: 27.08 kB / 0.5345 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.3837, allocations: 98.88 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3837, allocations: 22.59 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3838, allocations: 17.84 kB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3839, allocations: 324.1 kB / 0.5349 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.384, allocations: 14.98 kB / 0.5349 GB, free: 9.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3841, allocations: 18.98 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3842, allocations: 48.41 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3842, allocations: 4 kB / 0.535 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.3844, allocations: 85.17 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3845, allocations: 6.469 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3845, allocations: 1.375 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3845, allocations: 0 / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.3846, allocations: 13.61 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3846, allocations: 1.375 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.3846, allocations: 6.75 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3846, allocations: 5.312 kB / 0.5351 GB, free: 9.414 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 9.402e-05/0.3847, allocations: 114 kB / 0.5352 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3848, allocations: 12.06 kB / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3851, allocations: 93.41 kB / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3851, allocations: 1.344 kB / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3851, allocations: 0 / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3851, allocations: 4 kB / 0.5353 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3855, allocations: 346.5 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3856, allocations: 0.9688 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3856, allocations: 9.406 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3856, allocations: 0 / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3856, allocations: 1.406 kB / 0.5357 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3857, allocations: 7.875 kB / 0.5357 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3857, allocations: 5.297 kB / 0.5357 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.386, allocations: 175.5 kB / 0.5359 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.386, allocations: 83.56 kB / 0.5359 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3861, allocations: 4 kB / 0.5359 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.3861, allocations: 11.42 kB / 0.536 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3862, allocations: 6.719 kB / 0.536 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3862, allocations: 9.312 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3863, allocations: 119.9 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3863, allocations: 1.656 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3866, allocations: 17.78 kB / 0.5361 GB, free: 8.473 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.001682/0.3883, allocations: 1.004 MB / 0.5371 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3886, allocations: 48.25 kB / 0.5371 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3886, allocations: 0 / 0.5371 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.3887, allocations: 28.08 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3891, allocations: 22.2 kB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.3911, allocations: 1.441 MB / 0.5386 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3915, allocations: 0.6898 MB / 0.5393 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.3916, allocations: 18.05 kB / 0.5393 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.3917, allocations: 19.34 kB / 0.5393 GB, free: 5.559 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3917, allocations: 0 / 0.5393 GB, free: 5.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.4115, allocations: 2.536 MB / 0.5418 GB, free: 4.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.234, allocations: 13.98 kB / 0.5418 GB, free: 4.109 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches