Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001714/0.001714, allocations: 117.2 kB / 17.78 MB, free: 5.246 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.001662/0.001662, allocations: 185 kB / 18.72 MB, free: 4.32 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.414/1.414, 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.2184/0.2184, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3696, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00271/0.3723, allocations: 1.73 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3736, allocations: 0.8772 MB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.3736, allocations: 1.094 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3739, allocations: 49.22 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.3742, allocations: 58.47 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3745, allocations: 110.1 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3747, allocations: 125.2 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3748, allocations: 13.3 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3749, allocations: 53.17 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.375, allocations: 51.16 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.375, allocations: 5.594 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3751, allocations: 64.31 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3752, allocations: 26.05 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.3753, allocations: 44.3 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.3755, allocations: 140.5 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3755, allocations: 0.75 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3755, allocations: 0 / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3755, allocations: 3.938 kB / 0.5218 GB, free: 1.172 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004793/0.376, allocations: 438.7 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3761, allocations: 10.55 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.3761, allocations: 41.2 kB / 0.5222 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.3762, allocations: 14.19 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3764, allocations: 228 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3764, allocations: 3.125 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3765, allocations: 11.31 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3766, allocations: 69.62 kB / 0.5226 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3767, allocations: 2.266 kB / 0.5226 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3767, allocations: 4 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3767, allocations: 1.281 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3768, allocations: 47.8 kB / 0.5226 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.3772, allocations: 315.4 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.3774, allocations: 84.55 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.3775, allocations: 29.31 kB / 0.523 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3775, allocations: 6.688 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.3777, allocations: 79.45 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3777, allocations: 0 / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008724/0.3786, allocations: 304.5 kB / 0.5234 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3787, allocations: 57.42 kB / 0.5234 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3789, allocations: 191.4 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3789, allocations: 30.77 kB / 0.5237 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.379, allocations: 109.2 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.379, allocations: 41.7 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3791, allocations: 30.39 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3792, allocations: 322.7 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.3793, allocations: 40.83 kB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.3794, allocations: 50.2 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3796, allocations: 106.4 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3796, allocations: 0 / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002623/0.3798, allocations: 154.9 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3799, allocations: 7.656 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3799, allocations: 1.734 kB / 0.5245 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3799, allocations: 5.047 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.38, allocations: 27.78 kB / 0.5245 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.38, allocations: 5.375 kB / 0.5245 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3801, allocations: 8.141 kB / 0.5245 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3801, allocations: 3.5 kB / 0.5245 GB, free: 14.93 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 (15): * Single equations (assignments): 15 * 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.0001318/0.3802, allocations: 134 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3803, allocations: 15.36 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.3803, allocations: 22.5 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3803, allocations: 5.938 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3803, allocations: 0 / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3804, allocations: 1.719 kB / 0.5247 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.381, allocations: 492.2 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.381, allocations: 4 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.115e-05/0.3811, allocations: 21.59 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3811, allocations: 1.406 kB / 0.5252 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3811, allocations: 8.234 kB / 0.5252 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3811, allocations: 1.797 kB / 0.5252 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3811, allocations: 1.562 kB / 0.5252 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3814, allocations: 256.3 kB / 0.5255 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3815, allocations: 89.45 kB / 0.5255 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.3815, allocations: 7.609 kB / 0.5255 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3816, allocations: 3.984 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3817, allocations: 17 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3817, allocations: 10.09 kB / 0.5256 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3818, allocations: 139.9 kB / 0.5257 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3818, allocations: 0 / 0.5257 GB, free: 13.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.3821, allocations: 31.2 kB / 0.5257 GB, free: 13.96 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 (13): * Single equations (assignments): 11 * 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.001626/0.3837, allocations: 1.211 MB / 0.5269 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.384, allocations: 99.34 kB / 0.527 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.384, allocations: 0 / 0.527 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3841, allocations: 49.88 kB / 0.5271 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3845, allocations: 29.41 kB / 0.5271 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3866, allocations: 1.839 MB / 0.5289 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.3873, allocations: 0.7132 MB / 0.5296 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.3874, allocations: 25.42 kB / 0.5296 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.3875, allocations: 44.97 kB / 0.5297 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3875, allocations: 0 / 0.5297 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.4129, allocations: 3.976 MB / 0.5335 GB, free: 8.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.773, allocations: 19.36 kB / 0.5336 GB, free: 8.965 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches