Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.0017/0.0017, allocations: 113.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.001801/0.001801, allocations: 180.1 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.485/1.485, 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.2615/0.2615, allocations: 44.18 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4485, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003555/0.4521, allocations: 1.917 MB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.4537, allocations: 0.9167 MB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4538, allocations: 5.156 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.4542, allocations: 42.23 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.4544, allocations: 53.8 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.4548, allocations: 130.7 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4551, allocations: 134.8 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4552, allocations: 29.03 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.4553, allocations: 61.47 kB / 0.5217 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4554, allocations: 48.16 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4555, allocations: 11.31 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.4556, allocations: 45.67 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.4557, allocations: 27.36 kB / 0.5218 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.4558, allocations: 54.64 kB / 0.5219 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.4561, allocations: 151.4 kB / 0.522 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4561, allocations: 0 / 0.522 GB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4561, allocations: 5.281 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4561, allocations: 0.7031 kB / 0.522 GB, free: 0.9141 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.0007193/0.4569, allocations: 469.9 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4569, allocations: 8.344 kB / 0.5225 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.457, allocations: 38.8 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.457, allocations: 21.25 kB / 0.5225 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.4574, allocations: 232.7 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4574, allocations: 7.625 kB / 0.5228 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.4575, allocations: 8.344 kB / 0.5228 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.4578, allocations: 105.9 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4578, allocations: 0.8438 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4578, allocations: 5.375 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.4578, allocations: 2.062 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.458, allocations: 51.03 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.4588, allocations: 0.4997 MB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.4592, allocations: 95.41 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.4594, allocations: 36.86 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4594, allocations: 1.969 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.4597, allocations: 89.94 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.4597, allocations: 0 / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005187/0.4602, allocations: 143.5 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.4603, allocations: 53.67 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.4606, allocations: 195.1 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4606, allocations: 27.27 kB / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4607, allocations: 111.2 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4608, allocations: 34.23 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.4608, allocations: 32.94 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.461, allocations: 326.8 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4611, allocations: 24.88 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.4613, allocations: 67.95 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.4615, allocations: 99.72 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4615, allocations: 0.7969 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003272/0.4619, allocations: 137.1 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4619, allocations: 10.12 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4619, allocations: 1.062 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.462, allocations: 6.031 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4621, allocations: 25.31 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4621, allocations: 3.141 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.4622, allocations: 14.52 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4622, allocations: 3.688 kB / 0.5249 GB, free: 14.48 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.0001355/0.4623, allocations: 133 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4624, allocations: 18.75 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.4625, allocations: 16.02 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4625, allocations: 6.312 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4625, allocations: 0 / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4625, allocations: 0.75 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.4627, allocations: 209.2 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4628, allocations: 1.812 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.4628, allocations: 11.84 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4628, allocations: 0.8438 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4629, allocations: 1.969 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4629, allocations: 8.641 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4629, allocations: 3.938 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.4633, allocations: 183 kB / 0.5255 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.4634, allocations: 93.7 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.4634, allocations: 0.75 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.4635, allocations: 9.859 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.4636, allocations: 13.83 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4636, allocations: 8.172 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.4638, allocations: 138.8 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4638, allocations: 0 / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.464, allocations: 29.64 kB / 0.5257 GB, free: 13.77 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.00169/0.4657, allocations: 1.013 MB / 0.5267 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.466, allocations: 80.67 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.466, allocations: 1.375 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4661, allocations: 35.25 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.4665, allocations: 36.19 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.469, allocations: 1.744 MB / 0.5286 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4694, allocations: 0.7146 MB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.4695, allocations: 19.09 kB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.4696, allocations: 45.03 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4696, allocations: 0 / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.4984, allocations: 3.831 MB / 0.5331 GB, free: 9.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.154, allocations: 8.375 kB / 0.5331 GB, free: 9.027 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches