Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, 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.002142/0.002142, 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.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 79.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3709, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003536/0.3745, allocations: 1.68 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3757, allocations: 0.5757 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.3758, allocations: 5.5 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3761, allocations: 49.98 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3764, allocations: 86.27 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.3769, allocations: 182.4 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3771, allocations: 87.88 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3772, allocations: 22.97 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.3773, allocations: 38.91 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3774, allocations: 41.06 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3774, allocations: 9.125 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3775, allocations: 51.05 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.3776, allocations: 25.55 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.522e-05/0.3777, allocations: 30.62 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3779, allocations: 123 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3779, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3779, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3779, allocations: 0 / 0.5335 GB, free: 11.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005399/0.3784, allocations: 427.6 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3785, allocations: 13.62 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3785, allocations: 32.12 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3786, allocations: 14.34 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3788, allocations: 212.5 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.3788, allocations: 1.75 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3788, allocations: 3.125 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.379, allocations: 70.17 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.379, allocations: 3.984 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.379, allocations: 4 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.379, allocations: 5.375 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3792, allocations: 44.7 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.3797, allocations: 320.6 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.38, allocations: 60.61 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.38, allocations: 38.7 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3801, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3801, allocations: 30.56 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3801, allocations: 1.375 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001467/0.3816, allocations: 436.7 kB / 0.5351 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3816, allocations: 53.78 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3818, allocations: 178.8 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3818, allocations: 26.89 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3819, allocations: 104.7 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.3819, allocations: 44.27 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.382, allocations: 26.64 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3821, allocations: 330.2 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3823, allocations: 52.69 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3824, allocations: 57.47 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3827, allocations: 127.8 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3827, allocations: 0 / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.383, allocations: 169 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3831, allocations: 6.969 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3831, allocations: 0 / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3831, allocations: 5.469 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3832, allocations: 24.39 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3832, allocations: 0 / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.3833, allocations: 14.73 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3833, allocations: 2.469 kB / 0.5363 GB, free: 8.789 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 (11): * Single equations (assignments): 11 * 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.0001109/0.3835, allocations: 136.4 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.3835, allocations: 13.03 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.3839, allocations: 185.7 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.384, allocations: 5.312 kB / 0.5366 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.384, allocations: 5.281 kB / 0.5366 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.384, allocations: 0 / 0.5366 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.3847, allocations: 0.5007 MB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3847, allocations: 1.031 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3848, allocations: 29.08 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3849, allocations: 1.156 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3849, allocations: 2.281 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3849, allocations: 5.125 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3849, allocations: 4.969 kB / 0.5371 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.3853, allocations: 276.4 kB / 0.5374 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.3854, allocations: 93.78 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3854, allocations: 1.031 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3856, allocations: 15.45 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.3856, allocations: 7.703 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3856, allocations: 4.219 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3858, allocations: 145 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.3858, allocations: 4 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3861, allocations: 35.3 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001655/0.3877, allocations: 1.146 MB / 0.5388 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.3881, allocations: 137 kB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3881, allocations: 3.938 kB / 0.539 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3883, allocations: 71.36 kB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3887, allocations: 15.34 kB / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3911, allocations: 1.912 MB / 0.5409 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3914, allocations: 0.7183 MB / 0.5416 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.3915, allocations: 27.81 kB / 0.5416 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3916, allocations: 35.3 kB / 0.5417 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3916, allocations: 4 kB / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.4128, allocations: 3.443 MB / 0.545 GB, free: 2.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.197, allocations: 11.3 kB / 0.545 GB, free: 2.395 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches