Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.001739/0.001739, allocations: 108.8 kB / 17.77 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.001824/0.001824, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.256/0.256, allocations: 44.2 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3612, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003048/0.3643, allocations: 1.802 MB / 0.5202 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3657, allocations: 0.957 MB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.3658, allocations: 6.031 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.3664, allocations: 298.7 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.3668, allocations: 214 kB / 0.5217 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.3673, allocations: 171.3 kB / 0.5218 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.3677, allocations: 244.5 kB / 0.5221 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.3678, allocations: 9.422 kB / 0.5221 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.368, allocations: 137.5 kB / 0.5222 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.3684, allocations: 188.1 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.3684, allocations: 6.75 kB / 0.5224 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3686, allocations: 45.59 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3688, allocations: 129.7 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.369, allocations: 150.1 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.3696, allocations: 371.5 kB / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3696, allocations: 0 / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3696, allocations: 1.094 kB / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3697, allocations: 0 / 0.5231 GB, free: 0.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001373/0.371, allocations: 0.7435 MB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3711, allocations: 9.969 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.3712, allocations: 34.34 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3713, allocations: 49.89 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.3723, allocations: 461.6 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3723, allocations: 2.734 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3724, allocations: 12.39 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.3727, allocations: 85.75 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3727, allocations: 0 / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3727, allocations: 6.484 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3727, allocations: 1.781 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.3729, allocations: 29 kB / 0.5245 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.3735, allocations: 372.5 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.3738, allocations: 110.8 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.374, allocations: 42.75 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.374, allocations: 2.219 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.3744, allocations: 112.5 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.3744, allocations: 0 / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007096/0.3751, allocations: 206.3 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.3752, allocations: 79.75 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.377, allocations: 1.032 MB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.3771, allocations: 31.94 kB / 0.5264 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.3774, allocations: 236.5 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.3775, allocations: 26.31 kB / 0.5266 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.3776, allocations: 29.88 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.3779, allocations: 372.4 kB / 0.527 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.378, allocations: 27.11 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3782, allocations: 50.67 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3785, allocations: 95.09 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3785, allocations: 3.938 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004629/0.379, allocations: 170.7 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.379, allocations: 5.781 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.379, allocations: 64 / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3791, allocations: 6.625 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3792, allocations: 25.14 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3793, allocations: 1.25 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3794, allocations: 13.23 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3794, allocations: 4.969 kB / 0.5274 GB, free: 13.76 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003085/0.3797, allocations: 220.2 kB / 0.5276 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3799, allocations: 58.45 kB / 0.5277 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.38, allocations: 58.75 kB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.38, allocations: 5.281 kB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.38, allocations: 5.344 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.38, allocations: 0 / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.3806, allocations: 348.1 kB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3806, allocations: 5.203 kB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.3806, allocations: 10.22 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3806, allocations: 1.406 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3807, allocations: 6.312 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3807, allocations: 1.344 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3807, allocations: 0 / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.3812, allocations: 212.4 kB / 0.5283 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3814, allocations: 138.9 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.3815, allocations: 1.312 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3816, allocations: 7.531 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.3817, allocations: 9.109 kB / 0.5284 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.3817, allocations: 4.156 kB / 0.5284 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.383, allocations: 0.7747 MB / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.383, allocations: 0 / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.3835, allocations: 39.84 kB / 0.5292 GB, free: 12.56 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002665/0.3861, allocations: 1.062 MB / 0.5303 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3865, allocations: 78.94 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3865, allocations: 0 / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3867, allocations: 44.03 kB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.3873, allocations: 70.38 kB / 0.5305 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.3953, allocations: 4.528 MB / 0.5349 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.396, allocations: 0.8441 MB / 0.5357 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.3962, allocations: 65.12 kB / 0.5358 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.3965, allocations: 141.9 kB / 0.5359 GB, free: 8.199 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3965, allocations: 0 / 0.5359 GB, free: 8.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.4332, allocations: 8.947 MB / 0.5446 GB, free: 1.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/8.963, allocations: 4.062 kB / 0.5446 GB, free: 1.082 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime