Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 191.9 kB / 16.1 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008599/0.0008597, allocations: 95.8 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3298/0.3298, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 11.94 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.381, allocations: 62.96 MB / 0.516 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001704/0.3827, allocations: 1.389 MB / 0.5173 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.3835, allocations: 0.5498 MB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3835, allocations: 0 / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.3837, allocations: 31.69 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3839, allocations: 57.44 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3843, allocations: 171.8 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3844, allocations: 79.59 kB / 0.5182 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.3845, allocations: 16.92 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.3846, allocations: 38.33 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.3846, allocations: 44.05 kB / 0.5183 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3847, allocations: 3.844 kB / 0.5183 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3848, allocations: 82.97 kB / 0.5184 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.3849, allocations: 17.44 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3849, allocations: 54.5 kB / 0.5184 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3851, allocations: 132.1 kB / 0.5186 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3851, allocations: 3.938 kB / 0.5186 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3851, allocations: 0 / 0.5186 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3851, allocations: 0 / 0.5186 GB, free: 35.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005598/0.3857, allocations: 442.9 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3857, allocations: 9 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.3858, allocations: 33.98 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.3858, allocations: 10.81 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.386, allocations: 206.8 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.386, allocations: 7.25 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.386, allocations: 7.375 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3863, allocations: 104 kB / 0.5193 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3863, allocations: 0 / 0.5193 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3863, allocations: 8 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3864, allocations: 2.906 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.3867, allocations: 91 kB / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.3872, allocations: 360 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.3874, allocations: 84.53 kB / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3876, allocations: 61.22 kB / 0.5199 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3877, allocations: 2.688 kB / 0.5199 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3877, allocations: 30.56 kB / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.3877, allocations: 0 / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001723/0.3894, allocations: 0.5079 MB / 0.5204 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.3895, allocations: 81.05 kB / 0.5205 GB, free: 34.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3896, allocations: 168.5 kB / 0.5207 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3896, allocations: 29.7 kB / 0.5207 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.3897, allocations: 94.11 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3897, allocations: 32.75 kB / 0.5208 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.3897, allocations: 8 kB / 0.5208 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.3898, allocations: 320.8 kB / 0.5211 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.3901, allocations: 98.77 kB / 0.5212 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3904, allocations: 121.4 kB / 0.5214 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.3909, allocations: 213.7 kB / 0.5216 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3909, allocations: 0 / 0.5216 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006041/0.3915, allocations: 248.1 kB / 0.5218 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3915, allocations: 5.75 kB / 0.5218 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3916, allocations: 3.938 kB / 0.5218 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3916, allocations: 0 / 0.5218 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3918, allocations: 60.61 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3918, allocations: 6.531 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.392, allocations: 32.53 kB / 0.5219 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.392, allocations: 6.844 kB / 0.5219 GB, free: 33.45 MB / 378.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.3921, allocations: 119.4 kB / 0.522 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.3922, allocations: 13.06 kB / 0.522 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/0.3929, allocations: 269.2 kB / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3929, allocations: 0 / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3929, allocations: 7.625 kB / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3929, allocations: 0 / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.3937, allocations: 0.5569 MB / 0.5228 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3938, allocations: 11.94 kB / 0.5229 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3939, allocations: 52 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.394, allocations: 3.984 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.394, allocations: 0 / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.394, allocations: 0 / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.394, allocations: 0 / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.3946, allocations: 352.8 kB / 0.5232 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.3947, allocations: 95.39 kB / 0.5233 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3947, allocations: 0 / 0.5233 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.3949, allocations: 40.11 kB / 0.5234 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.395, allocations: 10.22 kB / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.395, allocations: 7 kB / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.356e-05/0.3951, allocations: 122.4 kB / 0.5235 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3951, allocations: 0 / 0.5235 GB, free: 32.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.3954, allocations: 53.42 kB / 0.5236 GB, free: 32.45 MB / 378.7 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.3971, allocations: 1.268 MB / 0.5248 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.3977, allocations: 223.5 kB / 0.525 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3978, allocations: 4 kB / 0.525 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.3981, allocations: 107.9 kB / 0.5251 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3984, allocations: 24.17 kB / 0.5251 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4002, allocations: 0.997 MB / 0.5261 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.4003, allocations: 0.7061 MB / 0.5268 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4004, allocations: 38.98 kB / 0.5268 GB, free: 30.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4004, allocations: 0 / 0.5268 GB, free: 30.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.323, allocations: 2.845 MB / 0.5296 GB, free: 29.92 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches