Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 191.7 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.5 MB / 243.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008237/0.0008237, allocations: 99.97 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2849/0.2849, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 62.97 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001542/0.294, allocations: 1.31 MB / 0.5172 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.2947, allocations: 0.4956 MB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.2947, allocations: 6.812 kB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.295, allocations: 112.5 kB / 0.5178 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2952, allocations: 95.89 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2954, allocations: 96.16 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2955, allocations: 80.78 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.2956, allocations: 18.42 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.2957, allocations: 37.3 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.2958, allocations: 48.64 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2958, allocations: 2.938 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.2959, allocations: 40.31 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.2959, allocations: 28.2 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.296, allocations: 56.55 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2961, allocations: 79 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2961, allocations: 0 / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2961, allocations: 4 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2961, allocations: 2.688 kB / 0.5184 GB, free: 35.55 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.0003542/0.2965, allocations: 407.1 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2965, allocations: 11.53 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.2966, allocations: 38.69 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2966, allocations: 14.62 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2967, allocations: 208.9 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.2968, allocations: 7.094 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2968, allocations: 7.344 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2969, allocations: 63.03 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2969, allocations: 7.844 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.297, allocations: 0 / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.297, allocations: 3.984 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.2971, allocations: 30.27 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.2974, allocations: 307.4 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.2975, allocations: 50.23 kB / 0.5195 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.2976, allocations: 22.62 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2976, allocations: 80 / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.2976, allocations: 34.56 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2976, allocations: 0 / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008275/0.2985, allocations: 269 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2985, allocations: 54.25 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.2987, allocations: 249 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.2987, allocations: 32.48 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.2987, allocations: 113 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.2988, allocations: 25.86 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.2988, allocations: 2.656 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.2988, allocations: 324.5 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.2989, allocations: 39.73 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.299, allocations: 34.73 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2992, allocations: 78.64 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2992, allocations: 0 / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.2994, allocations: 134.1 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2994, allocations: 5.438 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2994, allocations: 0 / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2994, allocations: 3.938 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.2995, allocations: 28.2 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2995, allocations: 3.938 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.2996, allocations: 10.09 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2996, allocations: 6.453 kB / 0.5209 GB, free: 33.5 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 (8): * Single equations (assignments): 8 * 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.027e-05/0.2997, allocations: 129.2 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.2997, allocations: 13.75 kB / 0.5211 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.2999, allocations: 140.2 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3, allocations: 2.938 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3, allocations: 3.938 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3, allocations: 0 / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.3004, allocations: 433.6 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3004, allocations: 3.234 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.3005, allocations: 26.41 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3005, allocations: 2.812 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3005, allocations: 0 / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3005, allocations: 0 / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3005, allocations: 6.906 kB / 0.5216 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3007, allocations: 219.8 kB / 0.5219 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.3008, allocations: 94.14 kB / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3008, allocations: 3.938 kB / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.3008, allocations: 12.83 kB / 0.522 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3009, allocations: 12.88 kB / 0.522 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3009, allocations: 2.969 kB / 0.522 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.301, allocations: 193.5 kB / 0.5222 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.301, allocations: 0 / 0.5222 GB, free: 32.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.3013, allocations: 24.09 kB / 0.5222 GB, free: 32.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001187/0.3025, allocations: 1.113 MB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3027, allocations: 74.47 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3027, allocations: 0 / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.3028, allocations: 49.3 kB / 0.5234 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3032, allocations: 21.61 kB / 0.5234 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3044, allocations: 0.9135 MB / 0.5243 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3045, allocations: 0.7177 MB / 0.525 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.3046, allocations: 37.27 kB / 0.525 GB, free: 30.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3046, allocations: 0 / 0.525 GB, free: 30.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.164, allocations: 2.392 MB / 0.5274 GB, free: 30.1 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches