Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009448/0.0009449, allocations: 193.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007685, allocations: 103.5 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3383/0.3383, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002552, allocations: 11.98 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3182, allocations: 62.95 MB / 0.516 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.001561/0.3199, allocations: 1.293 MB / 0.5172 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006547/0.3205, allocations: 0.4935 MB / 0.5177 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.3206, allocations: 6.969 kB / 0.5177 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3208, allocations: 17.33 kB / 0.5177 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.321, allocations: 63.3 kB / 0.5178 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3212, allocations: 94.83 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3213, allocations: 54.88 kB / 0.5179 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.3214, allocations: 17.67 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.3215, allocations: 20.09 kB / 0.518 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.3215, allocations: 21.22 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3215, allocations: 3.969 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.3216, allocations: 25.48 kB / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.3216, allocations: 14.02 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3217, allocations: 40.36 kB / 0.5181 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3218, allocations: 63.16 kB / 0.5181 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3218, allocations: 0 / 0.5181 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3218, allocations: 0 / 0.5181 GB, free: 35.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3218, allocations: 0 / 0.5181 GB, free: 35.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003307/0.3221, allocations: 377.9 kB / 0.5185 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3222, allocations: 8.438 kB / 0.5185 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.3222, allocations: 41.56 kB / 0.5185 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.3223, allocations: 11.75 kB / 0.5185 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3224, allocations: 188.5 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3224, allocations: 4.375 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3225, allocations: 3.438 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3226, allocations: 59.73 kB / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3226, allocations: 3.938 kB / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.3226, allocations: 0 / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3226, allocations: 0 / 0.5188 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.3227, allocations: 31.52 kB / 0.5188 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.323, allocations: 287.3 kB / 0.5191 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3232, allocations: 50.23 kB / 0.5191 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.3232, allocations: 18.97 kB / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3233, allocations: 2.969 kB / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.3233, allocations: 34.56 kB / 0.5192 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3233, allocations: 0 / 0.5192 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000509/0.3238, allocations: 166.6 kB / 0.5194 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3238, allocations: 51.41 kB / 0.5194 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.324, allocations: 146.9 kB / 0.5195 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.324, allocations: 32.61 kB / 0.5196 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.324, allocations: 94.34 kB / 0.5197 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.324, allocations: 14.72 kB / 0.5197 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3241, allocations: 0 / 0.5197 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.3241, allocations: 322.6 kB / 0.52 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.3242, allocations: 27.56 kB / 0.52 GB, free: 33.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.3243, allocations: 28.64 kB / 0.52 GB, free: 33.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3244, allocations: 56.19 kB / 0.5201 GB, free: 33.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3244, allocations: 4 kB / 0.5201 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001644/0.3246, allocations: 95.72 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3246, allocations: 5.625 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.3246, allocations: 0 / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3246, allocations: 0 / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.3247, allocations: 14.91 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3247, allocations: 4 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.3248, allocations: 9.406 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3248, allocations: 10.64 kB / 0.5202 GB, free: 33.6 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 (5): * Single equations (assignments): 5 * 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 6.776e-05/0.3248, allocations: 112.6 kB / 0.5203 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3249, allocations: 10.12 kB / 0.5203 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3251, allocations: 115.5 kB / 0.5205 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3251, allocations: 0 / 0.5205 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3251, allocations: 2.719 kB / 0.5205 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3251, allocations: 3.938 kB / 0.5205 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.3255, allocations: 375.8 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3255, allocations: 0 / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.3255, allocations: 18.25 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3255, allocations: 2.969 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3256, allocations: 0 / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3256, allocations: 3.938 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3256, allocations: 0 / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3258, allocations: 190.7 kB / 0.521 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.3258, allocations: 87.92 kB / 0.5211 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3258, allocations: 0 / 0.5211 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.3259, allocations: 13.39 kB / 0.5211 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3259, allocations: 2.844 kB / 0.5211 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.326, allocations: 4 kB / 0.5211 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.326, allocations: 122 kB / 0.5212 GB, free: 32.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.326, allocations: 0 / 0.5212 GB, free: 32.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.3263, allocations: 11.78 kB / 0.5213 GB, free: 32.72 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 (5): * Single equations (assignments): 5 * 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.001004/0.3273, allocations: 1.01 MB / 0.5222 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3275, allocations: 62.28 kB / 0.5223 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3275, allocations: 4 kB / 0.5223 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.3275, allocations: 35.52 kB / 0.5223 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3278, allocations: 23.05 kB / 0.5224 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.3287, allocations: 0.616 MB / 0.523 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3288, allocations: 0.7039 MB / 0.5237 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.3288, allocations: 24.44 kB / 0.5237 GB, free: 30.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3288, allocations: 0 / 0.5237 GB, free: 30.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.781/3.11, allocations: 1.719 MB / 0.5254 GB, free: 30.55 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches