Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001188/0.001188, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001139/0.001139, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.201/0.201, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3381, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002893/0.3411, allocations: 1.79 MB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3429, allocations: 1.559 MB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.343, allocations: 5.25 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.3434, allocations: 52.25 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3437, allocations: 90.53 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.3441, allocations: 166.7 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.3444, allocations: 183.7 kB / 0.5222 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.3445, allocations: 9.625 kB / 0.5222 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3446, allocations: 85.58 kB / 0.5223 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3448, allocations: 72.67 kB / 0.5224 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3448, allocations: 7.844 kB / 0.5224 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3449, allocations: 69.66 kB / 0.5225 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.345, allocations: 28.62 kB / 0.5225 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.3451, allocations: 70.28 kB / 0.5226 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3453, allocations: 167.8 kB / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3453, allocations: 0 / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3453, allocations: 0 / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3454, allocations: 1.531 kB / 0.5227 GB, free: 464 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000513/0.3459, allocations: 472.2 kB / 0.5232 GB, free: 12 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3459, allocations: 8.75 kB / 0.5232 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.346, allocations: 38.91 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.346, allocations: 15.78 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.3464, allocations: 239.9 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3464, allocations: 8.031 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3464, allocations: 6.875 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3467, allocations: 106.8 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3467, allocations: 4 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3467, allocations: 0.9375 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3467, allocations: 1.922 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3468, allocations: 33.67 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.3471, allocations: 209 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3473, allocations: 109.2 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.3474, allocations: 39.61 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3475, allocations: 5.609 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.3477, allocations: 109.5 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3477, allocations: 0 / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004422/0.3481, allocations: 167.8 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.3482, allocations: 131.7 kB / 0.5243 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3485, allocations: 214.1 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3485, allocations: 28.19 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.3486, allocations: 112.9 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3486, allocations: 32.19 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.3487, allocations: 30.64 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3488, allocations: 323.5 kB / 0.5251 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.3489, allocations: 35.47 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.349, allocations: 63.8 kB / 0.5251 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3492, allocations: 92.05 kB / 0.5252 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3492, allocations: 3.938 kB / 0.5252 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002611/0.3495, allocations: 139.2 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3495, allocations: 9.25 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3495, allocations: 1.688 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3495, allocations: 5.375 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3496, allocations: 26.25 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3496, allocations: 0.9375 kB / 0.5254 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.3497, allocations: 10.84 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3497, allocations: 5.469 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001211/0.3499, allocations: 130.6 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3499, allocations: 24.11 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.35, allocations: 17.38 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.35, allocations: 5.906 kB / 0.5256 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.35, allocations: 1.406 kB / 0.5256 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.35, allocations: 4.594 kB / 0.5256 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3502, allocations: 223.4 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3502, allocations: 0.7031 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.3503, allocations: 11.11 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3503, allocations: 1.812 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3503, allocations: 3.141 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3503, allocations: 0.6094 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3503, allocations: 1.25 kB / 0.5258 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3506, allocations: 175.9 kB / 0.526 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.3507, allocations: 90.41 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3507, allocations: 2.375 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.3508, allocations: 10.23 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3508, allocations: 6.625 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3509, allocations: 5.344 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.351, allocations: 159.8 kB / 0.5263 GB, free: 13.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.351, allocations: 1.188 kB / 0.5263 GB, free: 13.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3513, allocations: 37.69 kB / 0.5263 GB, free: 13.41 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001406/0.3527, allocations: 1.056 MB / 0.5273 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.353, allocations: 81.47 kB / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.353, allocations: 0 / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3531, allocations: 40.47 kB / 0.5274 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3535, allocations: 59.64 kB / 0.5275 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3557, allocations: 1.826 MB / 0.5293 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.356, allocations: 0.7162 MB / 0.53 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.3562, allocations: 34.25 kB / 0.53 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3563, allocations: 48.31 kB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3563, allocations: 1.281 kB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3808, allocations: 4.768 MB / 0.5347 GB, free: 7.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.316, allocations: 10.19 kB / 0.5347 GB, free: 7.969 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time