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.001538/0.001538, allocations: 113.8 kB / 17.78 MB, free: 5.281 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: 179.9 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1979/0.1979, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3142, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002973/0.3172, allocations: 1.798 MB / 0.5202 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3194, allocations: 1.563 MB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.3195, allocations: 1.156 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.3198, allocations: 57.23 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3201, allocations: 86.67 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.3206, allocations: 171 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.3208, allocations: 179.8 kB / 0.5222 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.3209, allocations: 17.86 kB / 0.5223 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.321, allocations: 78.09 kB / 0.5223 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3213, allocations: 76.73 kB / 0.5224 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3213, allocations: 7.156 kB / 0.5224 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3214, allocations: 66.03 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.3215, allocations: 25.72 kB / 0.5225 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.3216, allocations: 65.44 kB / 0.5226 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.322, allocations: 168.4 kB / 0.5227 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.322, allocations: 1.094 kB / 0.5227 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.322, allocations: 0 / 0.5227 GB, free: 484 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.322, allocations: 0 / 0.5227 GB, free: 484 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.0006509/0.3227, allocations: 476.9 kB / 0.5232 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3227, allocations: 9.938 kB / 0.5232 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.3228, allocations: 37.58 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.3228, allocations: 19.66 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.3233, allocations: 248.2 kB / 0.5235 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3233, allocations: 3.812 kB / 0.5235 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3233, allocations: 6.906 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3236, allocations: 97.91 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3236, allocations: 5.156 kB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3236, allocations: 2.109 kB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3236, allocations: 1.156 kB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3237, allocations: 28.88 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.324, allocations: 209 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.3243, allocations: 114.9 kB / 0.5239 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.3244, allocations: 41.78 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3244, allocations: 2 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.3246, allocations: 117.5 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.3246, allocations: 0 / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004539/0.3251, allocations: 164.1 kB / 0.5242 GB, free: 15.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.3252, allocations: 135.2 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3254, allocations: 218.5 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3254, allocations: 31.52 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.3255, allocations: 110.1 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.3256, allocations: 31.22 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.3256, allocations: 29.55 kB / 0.5248 GB, free: 14.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3258, allocations: 329.3 kB / 0.5251 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.3259, allocations: 26.84 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.326, allocations: 76.31 kB / 0.5252 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.3262, allocations: 87.34 kB / 0.5253 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3262, allocations: 4.969 kB / 0.5253 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002921/0.3265, allocations: 138.5 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3265, allocations: 5.375 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3265, allocations: 2.391 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3265, allocations: 1.844 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3267, allocations: 21.38 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3267, allocations: 2.875 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.3268, allocations: 17.59 kB / 0.5255 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3268, allocations: 4.25 kB / 0.5255 GB, free: 14.13 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.0001516/0.3269, allocations: 139.3 kB / 0.5256 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.327, allocations: 15.62 kB / 0.5256 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.3271, allocations: 19.23 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3271, allocations: 2.062 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3271, allocations: 4 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3271, allocations: 0.5156 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3273, allocations: 218.6 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3273, allocations: 0.9375 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.3274, allocations: 7.875 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3274, allocations: 5.609 kB / 0.5258 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3274, allocations: 6.828 kB / 0.5259 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3274, allocations: 6.328 kB / 0.5259 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3274, allocations: 3.938 kB / 0.5259 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3277, allocations: 171.1 kB / 0.526 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.3278, allocations: 90.45 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.3279, allocations: 7.547 kB / 0.5261 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.3279, allocations: 9.859 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.328, allocations: 6.891 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.328, allocations: 5.484 kB / 0.5261 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.3282, allocations: 159.5 kB / 0.5263 GB, free: 13.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3282, allocations: 5.312 kB / 0.5263 GB, free: 13.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3285, allocations: 37.27 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.001665/0.3301, allocations: 1.044 MB / 0.5274 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3304, allocations: 84.88 kB / 0.5274 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3305, allocations: 1.188 kB / 0.5274 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3306, allocations: 44.11 kB / 0.5275 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.0003941/0.331, allocations: 54.2 kB / 0.5275 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3331, allocations: 1.828 MB / 0.5293 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3334, allocations: 0.7127 MB / 0.53 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3335, allocations: 29.81 kB / 0.53 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.3336, allocations: 52.95 kB / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3336, allocations: 0 / 0.5301 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.3571, allocations: 4.696 MB / 0.5347 GB, free: 8.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.886, allocations: 12.81 kB / 0.5347 GB, free: 8.027 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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) Reference file matches