Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001926, allocations: 187.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3794, allocations: 60.84 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002865/0.3823, allocations: 1.631 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.3831, allocations: 455.2 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3831, allocations: 0.9062 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3834, allocations: 69.61 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3836, allocations: 61.55 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.384, allocations: 184.8 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3842, allocations: 82.5 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3843, allocations: 20.48 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.3844, allocations: 40.08 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3845, allocations: 49.97 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3845, allocations: 3.406 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3846, allocations: 48.62 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.3847, allocations: 26.09 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.3848, allocations: 36.41 kB / 0.5211 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.385, allocations: 124.2 kB / 0.5212 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.385, allocations: 1.219 kB / 0.5212 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.385, allocations: 0 / 0.5212 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.385, allocations: 0 / 0.5212 GB, free: 1.574 MB / 382.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.0004983/0.3855, allocations: 423.4 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3856, allocations: 10.62 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.3856, allocations: 36.42 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.3856, allocations: 15.2 kB / 0.5217 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3858, allocations: 201.4 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3858, allocations: 5.859 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3859, allocations: 7.438 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.386, allocations: 70.64 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3861, allocations: 4.562 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3861, allocations: 5.406 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3861, allocations: 1.344 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3862, allocations: 42.38 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.3867, allocations: 326.5 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.3869, allocations: 63.98 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.387, allocations: 26.91 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.387, allocations: 6 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.387, allocations: 32.61 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3871, allocations: 0 / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.3885, allocations: 425.6 kB / 0.5228 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3885, allocations: 58.02 kB / 0.5229 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3887, allocations: 212.5 kB / 0.5231 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3887, allocations: 25.7 kB / 0.5231 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.3888, allocations: 110.8 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3889, allocations: 35.03 kB / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3889, allocations: 23.09 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.389, allocations: 331.4 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3892, allocations: 50.88 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3893, allocations: 52.5 kB / 0.5237 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3896, allocations: 131.7 kB / 0.5238 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3896, allocations: 4 kB / 0.5238 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003087/0.3899, allocations: 158.4 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3899, allocations: 5.562 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3899, allocations: 0.9375 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3899, allocations: 5.125 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.39, allocations: 25.06 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3901, allocations: 1.188 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.3901, allocations: 25.06 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3901, allocations: 3.531 kB / 0.524 GB, free: 15.43 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.0001094/0.3903, allocations: 133.7 kB / 0.5242 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3903, allocations: 14.56 kB / 0.5242 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.3907, allocations: 196.5 kB / 0.5244 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3908, allocations: 10.09 kB / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3908, allocations: 0 / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3908, allocations: 5.688 kB / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.3915, allocations: 0.4993 MB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3915, allocations: 2.109 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3917, allocations: 33.61 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3917, allocations: 5.578 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3917, allocations: 1.688 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3917, allocations: 1.531 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3917, allocations: 0.9375 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.3921, allocations: 271 kB / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.3922, allocations: 95.47 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3922, allocations: 2.594 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.3923, allocations: 13.02 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.3924, allocations: 12.95 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3924, allocations: 3.719 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.3926, allocations: 167.4 kB / 0.5254 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3926, allocations: 0 / 0.5254 GB, free: 14.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3929, allocations: 25.17 kB / 0.5255 GB, free: 14.37 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.00159/0.3945, allocations: 1.154 MB / 0.5266 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3948, allocations: 135 kB / 0.5267 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3948, allocations: 0 / 0.5267 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.395, allocations: 69.64 kB / 0.5268 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3954, allocations: 17.62 kB / 0.5268 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3977, allocations: 1.942 MB / 0.5287 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3981, allocations: 0.7223 MB / 0.5294 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3982, allocations: 34.16 kB / 0.5294 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.3983, allocations: 40.36 kB / 0.5295 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3983, allocations: 0 / 0.5295 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.42, allocations: 3.579 MB / 0.533 GB, free: 9.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.904, allocations: 14.17 kB / 0.533 GB, free: 9.406 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches