Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001721/0.001721, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.002071/0.002071, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.351/1.351, 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.2019/0.2019, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 71.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3351, allocations: 60.82 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003461/0.3386, allocations: 1.727 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3403, allocations: 0.8764 MB / 0.5211 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3405, allocations: 5.031 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.341, allocations: 81.53 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.3414, allocations: 77.19 kB / 0.5212 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.3419, allocations: 122.4 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.3422, allocations: 115.5 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3424, allocations: 21.08 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3425, allocations: 53.34 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3427, allocations: 68.86 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3427, allocations: 3.656 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.3429, allocations: 58.75 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.343, allocations: 25.98 kB / 0.5217 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.3431, allocations: 41.72 kB / 0.5217 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.3434, allocations: 132.6 kB / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3434, allocations: 0 / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3434, allocations: 0 / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3435, allocations: 2.031 kB / 0.5218 GB, free: 1.188 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.0005289/0.344, allocations: 444.9 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.344, allocations: 9 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.3441, allocations: 41.34 kB / 0.5223 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.3441, allocations: 10.86 kB / 0.5223 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3444, allocations: 212.8 kB / 0.5225 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3445, allocations: 7.203 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3445, allocations: 6.438 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3447, allocations: 57.83 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3447, allocations: 1.062 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3447, allocations: 0 / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3447, allocations: 1.766 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.3448, allocations: 28.78 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3452, allocations: 309.1 kB / 0.5229 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3454, allocations: 61.16 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.3455, allocations: 20.77 kB / 0.523 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3455, allocations: 5.156 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.3457, allocations: 68.08 kB / 0.5231 GB, free: 20 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.3457, allocations: 0 / 0.5231 GB, free: 20 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008573/0.3466, allocations: 253.1 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3466, allocations: 61.84 kB / 0.5234 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.3469, allocations: 216.8 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3469, allocations: 27.72 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.347, allocations: 114 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.347, allocations: 36.53 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.3471, allocations: 28.66 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3472, allocations: 322.8 kB / 0.5241 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.3473, allocations: 30.78 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.3474, allocations: 49.09 kB / 0.5242 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3476, allocations: 84.64 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3476, allocations: 0 / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002423/0.3478, allocations: 124.5 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3479, allocations: 5.062 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3479, allocations: 2.531 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3479, allocations: 5.297 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.348, allocations: 31.55 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.348, allocations: 1.188 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.3481, allocations: 3.797 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3481, allocations: 7.312 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001173/0.3482, allocations: 131.6 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3482, allocations: 9.609 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.3483, allocations: 24.16 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3483, allocations: 5.031 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3483, allocations: 0 / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3483, allocations: 1.688 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.3489, allocations: 456.5 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3489, allocations: 0 / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.349, allocations: 18.58 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.349, allocations: 1.891 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.349, allocations: 6.188 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.349, allocations: 1.875 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.349, allocations: 10.23 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.3493, allocations: 239 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.3494, allocations: 90.41 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3494, allocations: 3.891 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.3495, allocations: 10.22 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3496, allocations: 7.766 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3496, allocations: 9.297 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3497, allocations: 179.1 kB / 0.5256 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3497, allocations: 0 / 0.5256 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.35, allocations: 30.23 kB / 0.5256 GB, free: 14.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00162/0.3517, allocations: 1.171 MB / 0.5267 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3519, allocations: 79.16 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3519, allocations: 0 / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.352, allocations: 40.44 kB / 0.5268 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3524, allocations: 35.19 kB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.3544, allocations: 1.814 MB / 0.5286 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3547, allocations: 0.722 MB / 0.5294 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.3548, allocations: 22.88 kB / 0.5294 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.3548, allocations: 42.14 kB / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3548, allocations: 0 / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.3752, allocations: 3.859 MB / 0.5332 GB, free: 9.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.048, allocations: 19.03 kB / 0.5332 GB, free: 9.16 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches