Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 109.5 kB / 17.77 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 188.8 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 55.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003976/0.332, allocations: 1.58 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.333, allocations: 419.7 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.3331, allocations: 1.156 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.3334, allocations: 76.25 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.3338, allocations: 67.92 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.3343, allocations: 112.2 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.3345, allocations: 69.14 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3347, allocations: 16.38 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.3347, allocations: 41.42 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3349, allocations: 54.12 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3349, allocations: 7.5 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.335, allocations: 43.41 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.3351, allocations: 18.5 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.3351, allocations: 35.09 kB / 0.5209 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3353, allocations: 94.55 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3354, allocations: 0 / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3354, allocations: 4.969 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3354, allocations: 0 / 0.521 GB, free: 1.668 MB / 382.1 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.0004116/0.3358, allocations: 403.3 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3358, allocations: 13.53 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.3359, allocations: 33.12 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.3359, allocations: 14.59 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3361, allocations: 197.4 kB / 0.5216 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.3361, allocations: 5.562 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3361, allocations: 6.25 kB / 0.5216 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3362, allocations: 54.08 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3363, allocations: 5.125 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.3363, allocations: 3.938 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3363, allocations: 1 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.3364, allocations: 31.05 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.3367, allocations: 300.1 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3368, allocations: 45.41 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.3369, allocations: 19.58 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3369, allocations: 5.062 kB / 0.5221 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.337, allocations: 32.44 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.337, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009276/0.3379, allocations: 238.1 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.3379, allocations: 68.31 kB / 0.5224 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3381, allocations: 203.3 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3381, allocations: 31.05 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.3382, allocations: 107.4 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3382, allocations: 25.98 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3383, allocations: 20.64 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3384, allocations: 322.9 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.3385, allocations: 33.41 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.3386, allocations: 30.7 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3388, allocations: 75.91 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3388, allocations: 0 / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.339, allocations: 109.8 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.339, allocations: 5.719 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.339, allocations: 3.938 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3391, allocations: 5.219 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.3392, allocations: 16.97 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3392, allocations: 5.438 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.3392, allocations: 4.281 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3392, allocations: 6.312 kB / 0.5234 GB, free: 15.64 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.3393, allocations: 123.4 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3394, allocations: 9.906 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.3397, allocations: 134.6 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3397, allocations: 1.188 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3397, allocations: 7.938 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3397, allocations: 1.75 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.3403, allocations: 417 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3403, allocations: 3.938 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.3404, allocations: 21.47 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3404, allocations: 1.562 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3404, allocations: 2.359 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3404, allocations: 80 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3404, allocations: 5.328 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3407, allocations: 212.7 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.3408, allocations: 92.58 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3408, allocations: 2.031 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3409, allocations: 13.45 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.341, allocations: 10.44 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.341, allocations: 1.844 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3411, allocations: 156.8 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3414, allocations: 20.14 kB / 0.5246 GB, free: 14.7 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.3428, allocations: 1.095 MB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3431, allocations: 71.45 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3431, allocations: 1.406 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3432, allocations: 42.28 kB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3435, allocations: 13.73 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3454, allocations: 1.682 MB / 0.5274 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3458, allocations: 0.7124 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.3459, allocations: 24.94 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.3459, allocations: 36.86 kB / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3459, allocations: 0 / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.365, allocations: 3.095 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.232, allocations: 10.08 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time