Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001168/0.001168, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001198/0.001198, allocations: 188 kB / 18.71 MB, free: 4.387 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2078/0.2078, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 71.86 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3509, allocations: 60.84 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002614/0.3536, allocations: 1.551 MB / 0.52 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3549, allocations: 1.031 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.3549, allocations: 1.469 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.3552, allocations: 23.53 kB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.3554, allocations: 45.36 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3557, allocations: 104.6 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3558, allocations: 58.8 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.3559, allocations: 13.16 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.356, allocations: 26.61 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3561, allocations: 26.28 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3561, allocations: 2.281 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.3562, allocations: 50 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.3563, allocations: 13.97 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3563, allocations: 21.69 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3565, allocations: 92.83 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3565, allocations: 0 / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3565, allocations: 0 / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3565, allocations: 0.6562 kB / 0.5214 GB, free: 1.273 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003926/0.3569, allocations: 374.7 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.357, allocations: 13.56 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.357, allocations: 33 kB / 0.5218 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.357, allocations: 8.438 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3572, allocations: 189.9 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3572, allocations: 5.812 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3572, allocations: 1.812 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3574, allocations: 74.97 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3574, allocations: 4 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3574, allocations: 5.125 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3574, allocations: 1.219 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.3575, allocations: 23.19 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.3578, allocations: 279.7 kB / 0.5224 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.358, allocations: 49.8 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.3581, allocations: 18.83 kB / 0.5225 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3581, allocations: 1.062 kB / 0.5225 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.3581, allocations: 32.2 kB / 0.5225 GB, free: 188 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3581, allocations: 0 / 0.5225 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.3587, allocations: 149.8 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3587, allocations: 82.94 kB / 0.5227 GB, free: 16 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3589, allocations: 132.3 kB / 0.5228 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3589, allocations: 25.7 kB / 0.5229 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.3589, allocations: 88.77 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.359, allocations: 20.33 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.359, allocations: 18.39 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3591, allocations: 320 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.3592, allocations: 23.81 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.3593, allocations: 37.78 kB / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3595, allocations: 55.75 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3595, allocations: 0 / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.3597, allocations: 80.88 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3597, allocations: 10.36 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3597, allocations: 0 / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3597, allocations: 1.125 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.3598, allocations: 17 kB / 0.5235 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3598, allocations: 3.938 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.3599, allocations: 8.5 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3599, allocations: 6.094 kB / 0.5235 GB, free: 15.32 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 (5): * Single equations (assignments): 5 * 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 7.635e-05/0.36, allocations: 120.5 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.36, allocations: 5.875 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.3603, allocations: 101.4 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3603, allocations: 2.125 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3603, allocations: 4.062 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3603, allocations: 0 / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.3608, allocations: 354.7 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3608, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.3608, allocations: 16.23 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3608, allocations: 2.031 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3609, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3609, allocations: 8.938 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3609, allocations: 0.7969 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3611, allocations: 176.9 kB / 0.5243 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3612, allocations: 86.84 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3612, allocations: 5.734 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3613, allocations: 9.422 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3613, allocations: 3.953 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3613, allocations: 1.125 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.427e-05/0.3614, allocations: 103.4 kB / 0.5245 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3614, allocations: 0 / 0.5245 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3617, allocations: 25.53 kB / 0.5245 GB, free: 14.44 MB / 398.1 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 (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.001438/0.3631, allocations: 1.05 MB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3634, allocations: 57.73 kB / 0.5256 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3634, allocations: 0 / 0.5256 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.3635, allocations: 29.67 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3638, allocations: 19.47 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3653, allocations: 1.404 MB / 0.527 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3656, allocations: 0.6962 MB / 0.5277 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.3657, allocations: 21.36 kB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.3657, allocations: 24.34 kB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3657, allocations: 0 / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3875, allocations: 2.79 MB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.222, allocations: 7.859 kB / 0.5305 GB, free: 10.46 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time