Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001632, allocations: 195.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.5 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000718/0.0007183, allocations: 100.5 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3159/0.3159, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002847, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3225, allocations: 62.97 MB / 0.516 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001472/0.3241, allocations: 1.303 MB / 0.5172 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.3247, allocations: 0.4988 MB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.3247, allocations: 0 / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.325, allocations: 113.1 kB / 0.5178 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3252, allocations: 98.28 kB / 0.5179 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3254, allocations: 98.02 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3255, allocations: 77.89 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.3256, allocations: 21.28 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.3257, allocations: 36.34 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.3258, allocations: 55.14 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3258, allocations: 0 / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.3259, allocations: 41.91 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.3259, allocations: 22.86 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.326, allocations: 62.38 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3261, allocations: 73.78 kB / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3261, allocations: 0 / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3261, allocations: 0 / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.3261, allocations: 0 / 0.5184 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003464/0.3265, allocations: 418 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3265, allocations: 8.844 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.3265, allocations: 37.69 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.3266, allocations: 18.47 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3267, allocations: 210.5 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3267, allocations: 384 / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3267, allocations: 3.375 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3269, allocations: 66.39 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3269, allocations: 3.906 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3269, allocations: 2.562 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3269, allocations: 0 / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.327, allocations: 29.14 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3273, allocations: 322.5 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.3274, allocations: 51.23 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.3275, allocations: 21.58 kB / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3275, allocations: 0 / 0.5195 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.3275, allocations: 33.38 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3275, allocations: 4 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008245/0.3283, allocations: 267.9 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.3284, allocations: 55.34 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3286, allocations: 249.5 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3286, allocations: 29.7 kB / 0.5201 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.3286, allocations: 116.9 kB / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3287, allocations: 30.8 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.3287, allocations: 0 / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3287, allocations: 328.8 kB / 0.5206 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.3288, allocations: 30.45 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.3289, allocations: 36.11 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.329, allocations: 80.84 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.329, allocations: 0 / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/0.3292, allocations: 129.3 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.3293, allocations: 5.375 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3293, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3293, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.3294, allocations: 23.62 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3294, allocations: 3.938 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.3294, allocations: 5.25 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3294, allocations: 6.562 kB / 0.5209 GB, free: 33.44 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 6.849e-05/0.3295, allocations: 133.9 kB / 0.521 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3295, allocations: 16.41 kB / 0.521 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.3298, allocations: 140.3 kB / 0.5212 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3298, allocations: 6.969 kB / 0.5212 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3298, allocations: 3.938 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3298, allocations: 3.703 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.3302, allocations: 418.5 kB / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3302, allocations: 4.031 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.3303, allocations: 23.59 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3303, allocations: 3.312 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3303, allocations: 4 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3303, allocations: 7.406 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3303, allocations: 480 / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.3305, allocations: 235.2 kB / 0.5219 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.3306, allocations: 91.73 kB / 0.5219 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3306, allocations: 3.031 kB / 0.522 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.3307, allocations: 17.62 kB / 0.522 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.3307, allocations: 2.938 kB / 0.522 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3307, allocations: 6.812 kB / 0.522 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3308, allocations: 195.2 kB / 0.5222 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3309, allocations: 0 / 0.5222 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.3311, allocations: 26.12 kB / 0.5222 GB, free: 32.46 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.001108/0.3322, allocations: 1.095 MB / 0.5233 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3324, allocations: 79.16 kB / 0.5233 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3324, allocations: 0 / 0.5233 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3325, allocations: 49.02 kB / 0.5234 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3328, allocations: 20.94 kB / 0.5234 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3339, allocations: 0.9094 MB / 0.5243 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.334, allocations: 0.7251 MB / 0.525 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.3341, allocations: 36.05 kB / 0.525 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3341, allocations: 0 / 0.525 GB, free: 30.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/3.092, allocations: 2.4 MB / 0.5274 GB, free: 30.02 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches