Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001687/0.001687, allocations: 113.8 kB / 17.77 MB, free: 5.359 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.001895/0.001895, allocations: 183.9 kB / 18.7 MB, free: 4.438 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2159/0.2159, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 60.82 MB / 0.5185 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003212/0.3224, allocations: 1.713 MB / 0.5202 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3243, allocations: 1.481 MB / 0.5216 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.3243, allocations: 5.094 kB / 0.5216 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.3246, allocations: 35.95 kB / 0.5217 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3248, allocations: 59.94 kB / 0.5217 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3251, allocations: 117.2 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3253, allocations: 96.73 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.3254, allocations: 7.109 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.3254, allocations: 45.89 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3256, allocations: 35.83 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3256, allocations: 4.75 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3257, allocations: 66.33 kB / 0.5221 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.3258, allocations: 14.22 kB / 0.5221 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.3258, allocations: 34.02 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3261, allocations: 124.7 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3261, allocations: 0.5156 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3261, allocations: 1.25 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3261, allocations: 0 / 0.5222 GB, free: 0.6289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000452/0.3265, allocations: 408.6 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3266, allocations: 10.09 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.3266, allocations: 37.59 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3267, allocations: 8.016 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3269, allocations: 206.2 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.327, allocations: 5.438 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.327, allocations: 6.562 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3272, allocations: 74.86 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3272, allocations: 0.7031 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3272, allocations: 1.094 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3272, allocations: 5.156 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.3273, allocations: 18.83 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.3277, allocations: 288 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3279, allocations: 55.88 kB / 0.5233 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.328, allocations: 23.95 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.328, allocations: 9.703 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3281, allocations: 61.61 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3282, allocations: 0 / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.3287, allocations: 175.6 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3288, allocations: 79.97 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.329, allocations: 153.5 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.329, allocations: 38.77 kB / 0.5238 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3291, allocations: 93.59 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3291, allocations: 26.48 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3291, allocations: 21.67 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3293, allocations: 321.7 kB / 0.5243 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.3294, allocations: 20.84 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.3294, allocations: 41.5 kB / 0.5243 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3296, allocations: 61.45 kB / 0.5244 GB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3296, allocations: 1.094 kB / 0.5244 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.3298, allocations: 99.81 kB / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3298, allocations: 6.453 kB / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3298, allocations: 0 / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3298, allocations: 1.688 kB / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.3299, allocations: 20.44 kB / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3299, allocations: 32 / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.33, allocations: 15.48 kB / 0.5245 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.33, allocations: 3.844 kB / 0.5245 GB, free: 14.54 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 (10): * Single equations (assignments): 10 * 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.000106/0.3301, allocations: 120.2 kB / 0.5246 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3301, allocations: 13.72 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.3302, allocations: 13.62 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3302, allocations: 1.594 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3302, allocations: 0 / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3302, allocations: 12.56 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.3307, allocations: 388.4 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3307, allocations: 1.469 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.3307, allocations: 9.078 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3308, allocations: 4.312 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3308, allocations: 2.438 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3308, allocations: 5.812 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3308, allocations: 1.125 kB / 0.5251 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.331, allocations: 207.9 kB / 0.5253 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.3311, allocations: 84.16 kB / 0.5254 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3311, allocations: 7.172 kB / 0.5254 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.3312, allocations: 7.328 kB / 0.5254 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.3312, allocations: 5.938 kB / 0.5254 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3313, allocations: 4.219 kB / 0.5254 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3314, allocations: 114.6 kB / 0.5255 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3314, allocations: 4 kB / 0.5255 GB, free: 13.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3317, allocations: 33.53 kB / 0.5255 GB, free: 13.66 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: 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 (8): * Single equations (assignments): 6 * 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.002293/0.334, allocations: 1.138 MB / 0.5266 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.3342, allocations: 59.16 kB / 0.5267 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3342, allocations: 1.062 kB / 0.5267 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.3343, allocations: 29.12 kB / 0.5267 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3346, allocations: 24.89 kB / 0.5267 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3364, allocations: 1.549 MB / 0.5283 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3368, allocations: 0.6958 MB / 0.5289 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.3368, allocations: 13.66 kB / 0.529 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.3369, allocations: 34.73 kB / 0.529 GB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3369, allocations: 0 / 0.529 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.3623, allocations: 3.562 MB / 0.5325 GB, free: 9.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.125, allocations: 9.625 kB / 0.5325 GB, free: 9.094 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches