Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001204/0.001204, allocations: 113.4 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.001229/0.001229, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2229/0.2229, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3797, allocations: 60.82 MB / 0.5185 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003045/0.3828, allocations: 1.692 MB / 0.5202 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3842, allocations: 0.8826 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.3843, allocations: 1.031 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.3846, allocations: 31.7 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3848, allocations: 54.05 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3851, allocations: 109.5 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3853, allocations: 91.92 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.3854, allocations: 15.02 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.3855, allocations: 46.55 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.3856, allocations: 26.5 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3856, allocations: 3.25 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.3857, allocations: 45.56 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.3858, allocations: 16.56 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.3858, allocations: 29.19 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.386, allocations: 110.7 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.386, allocations: 1.344 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.386, allocations: 4 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3861, allocations: 0 / 0.5216 GB, free: 1.199 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.0004932/0.3866, allocations: 404.1 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3866, allocations: 9.125 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.3866, allocations: 32.56 kB / 0.522 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3867, allocations: 9.594 kB / 0.522 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3869, allocations: 212.5 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3869, allocations: 1.156 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3869, allocations: 2.969 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3871, allocations: 66.47 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3871, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3871, allocations: 1.375 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3871, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.3872, allocations: 18.45 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3875, allocations: 288.3 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3877, allocations: 64.69 kB / 0.5226 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.3877, allocations: 19.73 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3878, allocations: 0.75 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.3879, allocations: 66.91 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3879, allocations: 0 / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.3885, allocations: 171.6 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3885, allocations: 60.44 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3887, allocations: 156.1 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3887, allocations: 31.56 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.3888, allocations: 102.5 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3888, allocations: 17.89 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.3889, allocations: 21.25 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.389, allocations: 321.9 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.3891, allocations: 25.94 kB / 0.5236 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.3891, allocations: 42.83 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3893, allocations: 62.66 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3893, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.3894, allocations: 105.1 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3895, allocations: 5.219 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3895, allocations: 7.969 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3895, allocations: 2.609 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.3896, allocations: 14.95 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3896, allocations: 1.094 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.3897, allocations: 2.859 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3897, allocations: 3.062 kB / 0.5238 GB, free: 15.17 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 9.48e-05/0.3898, allocations: 130.1 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3898, allocations: 10.28 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.3898, allocations: 21.47 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3899, allocations: 5.156 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3899, allocations: 1.125 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3899, allocations: 0.9375 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3903, allocations: 387.2 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3903, allocations: 3.938 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.3904, allocations: 9.188 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3904, allocations: 1.312 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3904, allocations: 6.531 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3904, allocations: 5.75 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3904, allocations: 0 / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3907, allocations: 205.2 kB / 0.5246 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3907, allocations: 89.64 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3908, allocations: 0.6562 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.3908, allocations: 3.812 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.3909, allocations: 9.234 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3909, allocations: 3.641 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.391, allocations: 128.4 kB / 0.5248 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.391, allocations: 0 / 0.5248 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3913, allocations: 21.89 kB / 0.5248 GB, free: 14.29 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.001572/0.3929, allocations: 1.101 MB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3931, allocations: 59.61 kB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3931, allocations: 5.562 kB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.3932, allocations: 28.81 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3936, allocations: 36.56 kB / 0.526 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3953, allocations: 1.566 MB / 0.5276 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3955, allocations: 0.7012 MB / 0.5282 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.3956, allocations: 12.3 kB / 0.5283 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.3956, allocations: 31.02 kB / 0.5283 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3957, allocations: 0 / 0.5283 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.4155, allocations: 3.304 MB / 0.5315 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.217, allocations: 5.297 kB / 0.5315 GB, free: 9.945 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches