Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009878/0.0009878, allocations: 194.4 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.312/1.312, allocations: 226.5 MB / 243.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007204/0.0007204, allocations: 98.52 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3518/0.3518, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003112, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.329, allocations: 62.95 MB / 0.516 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001703/0.3307, allocations: 1.368 MB / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006998/0.3314, allocations: 0.5286 MB / 0.5178 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.3315, allocations: 6.812 kB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.3317, allocations: 45.47 kB / 0.5179 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.3319, allocations: 75.06 kB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.3323, allocations: 165.8 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3324, allocations: 67.47 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3325, allocations: 23.41 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.3326, allocations: 34.36 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.3327, allocations: 31.02 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3327, allocations: 2.844 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.3328, allocations: 40.42 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.3328, allocations: 17.05 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3329, allocations: 58.56 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.333, allocations: 92.75 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.333, allocations: 2.844 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.333, allocations: 4 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.333, allocations: 0 / 0.5184 GB, free: 35.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003865/0.3334, allocations: 402.2 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3335, allocations: 11.56 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.3335, allocations: 34.75 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.3335, allocations: 10.59 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3337, allocations: 201.6 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3337, allocations: 11.41 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3337, allocations: 7.344 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3339, allocations: 68.16 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3339, allocations: 6.875 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3339, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3339, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3341, allocations: 59.11 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.3344, allocations: 327 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3346, allocations: 65.2 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3347, allocations: 29.94 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3347, allocations: 0 / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3348, allocations: 33.47 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.3348, allocations: 4 kB / 0.5197 GB, free: 34.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001352/0.3361, allocations: 496.1 kB / 0.5201 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3362, allocations: 57.88 kB / 0.5202 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3363, allocations: 183.5 kB / 0.5204 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.3363, allocations: 28.64 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.3364, allocations: 106.4 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3364, allocations: 36.88 kB / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.3364, allocations: 0 / 0.5205 GB, free: 34.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.3365, allocations: 325.8 kB / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3366, allocations: 62.3 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3367, allocations: 64.25 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.337, allocations: 146.1 kB / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.337, allocations: 0 / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000288/0.3373, allocations: 178.2 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3373, allocations: 9.156 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3373, allocations: 3.938 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3373, allocations: 3.938 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3374, allocations: 37.48 kB / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3374, allocations: 0 / 0.5213 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.3375, allocations: 15.59 kB / 0.5213 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3376, allocations: 3.188 kB / 0.5213 GB, free: 33.51 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 (11): * Single equations (assignments): 11 * 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 7.176e-05/0.3376, allocations: 129.2 kB / 0.5215 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.3377, allocations: 13.97 kB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.338, allocations: 199.3 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.338, allocations: 14.84 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3381, allocations: 3.938 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3381, allocations: 3.422 kB / 0.5217 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.3386, allocations: 0.5094 MB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3386, allocations: 0 / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.3387, allocations: 32.77 kB / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3387, allocations: 0 / 0.5222 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3387, allocations: 14.03 kB / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3387, allocations: 0 / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3388, allocations: 0 / 0.5222 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.3391, allocations: 302 kB / 0.5225 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.3391, allocations: 86.33 kB / 0.5226 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3391, allocations: 9.844 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.3392, allocations: 11.72 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3393, allocations: 13.44 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3393, allocations: 6.906 kB / 0.5226 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.019e-05/0.3394, allocations: 143.1 kB / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3394, allocations: 0 / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.3396, allocations: 26.56 kB / 0.5228 GB, free: 32.46 MB / 378.7 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 (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.001215/0.3408, allocations: 1.172 MB / 0.5239 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.3411, allocations: 142.5 kB / 0.5241 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3412, allocations: 0 / 0.5241 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3413, allocations: 78.48 kB / 0.5242 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3416, allocations: 24.31 kB / 0.5242 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3428, allocations: 0.9509 MB / 0.5251 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.343, allocations: 0.72 MB / 0.5258 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3431, allocations: 37.66 kB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3431, allocations: 0 / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/3.043, allocations: 2.403 MB / 0.5282 GB, free: 29.97 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches