Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001234/0.001234, allocations: 109.8 kB / 17.78 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.001224/0.001224, allocations: 183.9 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.391/1.391, 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.2102/0.2102, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2977, allocations: 60.83 MB / 0.5185 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00253/0.3003, allocations: 1.659 MB / 0.5201 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3016, allocations: 0.8544 MB / 0.521 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.3017, allocations: 1.125 kB / 0.521 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.302, allocations: 50.7 kB / 0.521 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.3023, allocations: 65.09 kB / 0.5211 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3026, allocations: 103.7 kB / 0.5212 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3027, allocations: 96.62 kB / 0.5213 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.3028, allocations: 5.562 kB / 0.5213 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.3029, allocations: 44 kB / 0.5213 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.303, allocations: 43.52 kB / 0.5213 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.303, allocations: 3.438 kB / 0.5214 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.3031, allocations: 29.88 kB / 0.5214 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.3032, allocations: 16.23 kB / 0.5214 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.3032, allocations: 32.88 kB / 0.5214 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3034, allocations: 98.39 kB / 0.5215 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3035, allocations: 1.281 kB / 0.5215 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3035, allocations: 0 / 0.5215 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3035, allocations: 0 / 0.5215 GB, free: 1.539 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004795/0.304, allocations: 406.5 kB / 0.5219 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.304, allocations: 9.281 kB / 0.5219 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.304, allocations: 32.48 kB / 0.5219 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3041, allocations: 9.078 kB / 0.522 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3043, allocations: 209.4 kB / 0.5222 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3043, allocations: 9.438 kB / 0.5222 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3044, allocations: 6.016 kB / 0.5222 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3045, allocations: 46.19 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3045, allocations: 1.031 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3045, allocations: 0.7031 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3045, allocations: 1.031 kB / 0.5222 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.3046, allocations: 18.58 kB / 0.5222 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3048, allocations: 181.4 kB / 0.5224 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3049, allocations: 57.36 kB / 0.5225 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.305, allocations: 19.19 kB / 0.5225 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.305, allocations: 1.125 kB / 0.5225 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3052, allocations: 72.69 kB / 0.5226 GB, free: 0.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3052, allocations: 0 / 0.5226 GB, free: 0.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000282/0.3055, allocations: 97.3 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.3055, allocations: 51.41 kB / 0.5227 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3057, allocations: 169.9 kB / 0.5229 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.3057, allocations: 27.19 kB / 0.5229 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.3057, allocations: 98.92 kB / 0.523 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3058, allocations: 16.42 kB / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.3058, allocations: 20.05 kB / 0.523 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.306, allocations: 324.8 kB / 0.5233 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.306, allocations: 17.64 kB / 0.5233 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3061, allocations: 34.98 kB / 0.5234 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3062, allocations: 41.5 kB / 0.5234 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3062, allocations: 5.062 kB / 0.5234 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.3064, allocations: 79.36 kB / 0.5235 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3064, allocations: 9.969 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.3064, allocations: 0.5625 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3065, allocations: 1.188 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.3065, allocations: 11.09 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3065, allocations: 1.125 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.3066, allocations: 7.5 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3066, allocations: 2.25 kB / 0.5235 GB, free: 15.66 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 (7): * Single equations (assignments): 7 * 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.0001127/0.3067, allocations: 122.9 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.3068, allocations: 12.94 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.3068, allocations: 17.91 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3068, allocations: 1.797 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3068, allocations: 0 / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3068, allocations: 1.344 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.307, allocations: 183.7 kB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.307, allocations: 3.938 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.307, allocations: 8.734 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3071, allocations: 4.25 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3071, allocations: 5.953 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3071, allocations: 4.562 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3071, allocations: 1.562 kB / 0.5239 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3073, allocations: 107.4 kB / 0.524 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.3074, allocations: 85.02 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3074, allocations: 6.016 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.3074, allocations: 1.953 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3075, allocations: 3.625 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3075, allocations: 2.969 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3076, allocations: 135 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3076, allocations: 0 / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000214/0.3078, allocations: 17.44 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001949/0.3098, allocations: 0.9687 MB / 0.5252 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.31, allocations: 47.12 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.31, allocations: 0.625 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.3101, allocations: 18.22 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3104, allocations: 24.25 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.312, allocations: 1.442 MB / 0.5267 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3124, allocations: 0.699 MB / 0.5273 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.3124, allocations: 10.97 kB / 0.5274 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.3125, allocations: 29.05 kB / 0.5274 GB, free: 12.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3125, allocations: 0 / 0.5274 GB, free: 12.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.3356, allocations: 3.03 MB / 0.5303 GB, free: 11.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.985, allocations: 1.312 kB / 0.5303 GB, free: 11.05 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_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_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches