Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001052/0.001052, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001177/0.001177, allocations: 187 kB / 18.71 MB, free: 4.348 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.455/1.455, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.255/0.255, allocations: 44.19 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4409, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004248/0.4452, allocations: 1.914 MB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.4474, allocations: 0.9193 MB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.4476, allocations: 4.938 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.448, allocations: 42.42 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.4482, allocations: 55.45 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.4486, allocations: 130.7 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4488, allocations: 134 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.4489, allocations: 29.55 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.449, allocations: 60.55 kB / 0.5217 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.4491, allocations: 48.81 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4492, allocations: 7.219 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4493, allocations: 44.73 kB / 0.5218 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.4493, allocations: 27.31 kB / 0.5218 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.4494, allocations: 51.12 kB / 0.5219 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.4497, allocations: 151.4 kB / 0.522 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.4497, allocations: 9.438 kB / 0.522 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4497, allocations: 0 / 0.522 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.4497, allocations: 0 / 0.522 GB, free: 0.9102 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005464/0.4503, allocations: 465.4 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4503, allocations: 14.42 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.4504, allocations: 38.34 kB / 0.5225 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.4504, allocations: 16.61 kB / 0.5225 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.4508, allocations: 237.3 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4508, allocations: 10.62 kB / 0.5228 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4509, allocations: 8.531 kB / 0.5228 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.4511, allocations: 106.1 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4511, allocations: 1.281 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4511, allocations: 2 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4512, allocations: 1.375 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.4513, allocations: 59.41 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.452, allocations: 0.4991 MB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.4524, allocations: 95.66 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4525, allocations: 36.89 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4526, allocations: 1.766 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.4528, allocations: 85.72 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4528, allocations: 0 / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003967/0.4532, allocations: 147.7 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.4532, allocations: 53.28 kB / 0.5238 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4534, allocations: 194.6 kB / 0.524 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4535, allocations: 27.78 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.4535, allocations: 111.1 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4536, allocations: 30.03 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.4536, allocations: 28.59 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4538, allocations: 331.9 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.4539, allocations: 23.95 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.454, allocations: 64.27 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.4542, allocations: 100.3 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4542, allocations: 0 / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002937/0.4545, allocations: 141.9 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4545, allocations: 4.969 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4545, allocations: 1.469 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4546, allocations: 14.94 kB / 0.5248 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4547, allocations: 21.16 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4547, allocations: 6.812 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.4548, allocations: 9.938 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4548, allocations: 4.406 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001147/0.4549, allocations: 133.5 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4549, allocations: 13.75 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.455, allocations: 17.2 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.455, allocations: 9.219 kB / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.455, allocations: 0 / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.455, allocations: 0.7031 kB / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.4552, allocations: 210.4 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4553, allocations: 0 / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.4553, allocations: 11.92 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4553, allocations: 1.25 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4554, allocations: 2.016 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4554, allocations: 7.938 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4554, allocations: 1.766 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.4558, allocations: 190.6 kB / 0.5255 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.4559, allocations: 88.08 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4559, allocations: 2.516 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.456, allocations: 9.984 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.456, allocations: 10.25 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.456, allocations: 2.703 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.4562, allocations: 144.2 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4562, allocations: 0 / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.4564, allocations: 28.89 kB / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001601/0.458, allocations: 1.011 MB / 0.5267 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.4583, allocations: 85.92 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4583, allocations: 0 / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4584, allocations: 35.11 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4587, allocations: 49.27 kB / 0.5269 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.461, allocations: 1.732 MB / 0.5286 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4614, allocations: 0.7172 MB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.624e-05/0.4615, allocations: 19.83 kB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.4616, allocations: 40.27 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4616, allocations: 0 / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.4846, allocations: 3.83 MB / 0.5331 GB, free: 9.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.14, allocations: 12.75 kB / 0.5331 GB, free: 9.016 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches