Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.001004/0.001004, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.0009729/0.0009728, allocations: 175.1 kB / 18.71 MB, free: 4.363 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2085/0.2085, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.09 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002775/0.3146, allocations: 1.798 MB / 0.5202 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3159, allocations: 0.956 MB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.316, allocations: 2.031 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.3165, allocations: 294.9 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.3169, allocations: 209.8 kB / 0.5217 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3173, allocations: 167.2 kB / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3176, allocations: 239.2 kB / 0.5221 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3177, allocations: 14.5 kB / 0.5221 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.3178, allocations: 135.6 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3181, allocations: 181.3 kB / 0.5224 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.3181, allocations: 7.812 kB / 0.5224 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3182, allocations: 52.78 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3184, allocations: 127.5 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3185, allocations: 142.2 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.3189, allocations: 358.5 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3189, allocations: 1.844 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3189, allocations: 0 / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.319, allocations: 0 / 0.523 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.0007924/0.3198, allocations: 0.745 MB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3198, allocations: 12.84 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.3198, allocations: 33.34 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.3199, allocations: 50.36 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.3206, allocations: 449.9 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3206, allocations: 2.188 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3206, allocations: 7.109 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3208, allocations: 90.55 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3208, allocations: 0.75 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3209, allocations: 1.125 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3209, allocations: 1.125 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.321, allocations: 29.69 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3214, allocations: 371.3 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3217, allocations: 109 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.3218, allocations: 37.7 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3218, allocations: 5.5 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.3221, allocations: 110 kB / 0.525 GB, free: 15.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3221, allocations: 0 / 0.525 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004971/0.3226, allocations: 197.7 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3226, allocations: 79.33 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3237, allocations: 1.007 MB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3238, allocations: 31.05 kB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3239, allocations: 231.4 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.324, allocations: 26.33 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.3241, allocations: 30.08 kB / 0.5266 GB, free: 14.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3242, allocations: 372.2 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.3243, allocations: 26.83 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.3244, allocations: 62.39 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.3246, allocations: 94.41 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-05/0.3247, allocations: 5.406 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/0.325, allocations: 161.4 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.325, allocations: 5.188 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.325, allocations: 5.25 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3251, allocations: 6.344 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3252, allocations: 20.86 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3252, allocations: 6.25 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3253, allocations: 15.53 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3253, allocations: 4.562 kB / 0.5273 GB, free: 13.77 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.0002143/0.3255, allocations: 218.7 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.3256, allocations: 54.44 kB / 0.5276 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.3257, allocations: 61.34 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3257, allocations: 1 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3257, allocations: 0.9688 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3257, allocations: 1.062 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.3261, allocations: 337.9 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3261, allocations: 1.375 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.3261, allocations: 10.53 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3261, allocations: 3.984 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3262, allocations: 2.5 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3262, allocations: 9 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3262, allocations: 5.016 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3265, allocations: 203.4 kB / 0.5282 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3267, allocations: 138.4 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3268, allocations: 5.469 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.3269, allocations: 7.766 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.3269, allocations: 7.953 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.327, allocations: 12.22 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009187/0.3279, allocations: 0.7473 MB / 0.5291 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3279, allocations: 0 / 0.5291 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.3282, allocations: 40.5 kB / 0.5291 GB, free: 12.59 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.001664/0.3299, allocations: 1.06 MB / 0.5301 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.3302, allocations: 78.09 kB / 0.5302 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3302, allocations: 1.469 kB / 0.5302 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3304, allocations: 46.59 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.3309, allocations: 65.98 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.3375, allocations: 4.415 MB / 0.5346 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.3381, allocations: 0.8411 MB / 0.5355 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.3383, allocations: 60.56 kB / 0.5355 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.3385, allocations: 142.5 kB / 0.5357 GB, free: 8.285 MB / 398.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3385, allocations: 0 / 0.5357 GB, free: 8.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3661, allocations: 8.797 MB / 0.5442 GB, free: 1.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.738, allocations: 0 / 0.5442 GB, free: 1.457 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_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_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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