Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001462/0.001462, allocations: 114.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.001645/0.001645, allocations: 187.8 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2271/0.2271, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 71.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4632, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003347/0.4665, allocations: 1.926 MB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4683, allocations: 1.051 MB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.4685, allocations: 1.406 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.4692, allocations: 204.1 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.4696, allocations: 152.2 kB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.4703, allocations: 232.3 kB / 0.522 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.4706, allocations: 253.2 kB / 0.5222 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4708, allocations: 20.69 kB / 0.5222 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.471, allocations: 110 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.4712, allocations: 101 kB / 0.5224 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.4712, allocations: 14.09 kB / 0.5224 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.4714, allocations: 66.12 kB / 0.5225 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.4715, allocations: 48.58 kB / 0.5225 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.4716, allocations: 82.98 kB / 0.5226 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.4719, allocations: 234.5 kB / 0.5228 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4719, allocations: 1.469 kB / 0.5228 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4719, allocations: 0 / 0.5228 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.472, allocations: 0 / 0.5228 GB, free: 0.5664 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008118/0.4728, allocations: 0.5375 MB / 0.5234 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4728, allocations: 13.91 kB / 0.5234 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.4729, allocations: 33.91 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.4729, allocations: 24.27 kB / 0.5234 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4734, allocations: 283.2 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4734, allocations: 7.531 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4734, allocations: 8.703 kB / 0.5237 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4737, allocations: 103.5 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4737, allocations: 0 / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4737, allocations: 1.703 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4738, allocations: 1.094 kB / 0.5238 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4739, allocations: 43.75 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.4745, allocations: 379.7 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.4749, allocations: 123.6 kB / 0.5243 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.475, allocations: 48.56 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.475, allocations: 10.84 kB / 0.5244 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.4753, allocations: 116 kB / 0.5245 GB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.4753, allocations: 0 / 0.5245 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004955/0.4758, allocations: 180 kB / 0.5247 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.4759, allocations: 103.5 kB / 0.5248 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.4763, allocations: 333.7 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4763, allocations: 31.17 kB / 0.5251 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4765, allocations: 137.9 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.4765, allocations: 32.38 kB / 0.5253 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.4766, allocations: 30.41 kB / 0.5253 GB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4767, allocations: 341.4 kB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.4768, allocations: 28.97 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.477, allocations: 84.84 kB / 0.5258 GB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.4772, allocations: 93.98 kB / 0.5258 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4772, allocations: 0 / 0.5258 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003054/0.4775, allocations: 148.2 kB / 0.526 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4775, allocations: 12.19 kB / 0.526 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4775, allocations: 2.156 kB / 0.526 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4776, allocations: 4.984 kB / 0.526 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4777, allocations: 21.14 kB / 0.526 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.4777, allocations: 2.375 kB / 0.526 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.964e-05/0.4778, allocations: 24.36 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.4778, allocations: 7.625 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.000158/0.478, allocations: 148.3 kB / 0.5262 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.478, allocations: 27.58 kB / 0.5262 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.4781, allocations: 27.47 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4781, allocations: 1.812 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4781, allocations: 0 / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4781, allocations: 6.688 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.4784, allocations: 249.7 kB / 0.5265 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4784, allocations: 2.328 kB / 0.5265 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.4785, allocations: 7.156 kB / 0.5265 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4785, allocations: 1.469 kB / 0.5265 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4785, allocations: 2.922 kB / 0.5265 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4785, allocations: 9.484 kB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4785, allocations: 0 / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.4788, allocations: 184.5 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.4789, allocations: 96.36 kB / 0.5268 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.479, allocations: 3.078 kB / 0.5268 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.479, allocations: 11.59 kB / 0.5268 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.4791, allocations: 14.39 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4791, allocations: 5.562 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.4794, allocations: 253.8 kB / 0.5271 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4795, allocations: 0 / 0.5271 GB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.4797, allocations: 38.28 kB / 0.5271 GB, free: 13.19 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001528/0.4813, allocations: 1.03 MB / 0.5281 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4816, allocations: 90.31 kB / 0.5282 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4816, allocations: 1.375 kB / 0.5282 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4817, allocations: 47.22 kB / 0.5282 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.4822, allocations: 69 kB / 0.5283 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.4851, allocations: 2.285 MB / 0.5305 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.4854, allocations: 0.7418 MB / 0.5313 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.4856, allocations: 40.25 kB / 0.5313 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4857, allocations: 69.5 kB / 0.5314 GB, free: 9.914 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4857, allocations: 0 / 0.5314 GB, free: 9.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.5168, allocations: 5.701 MB / 0.5369 GB, free: 6.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.248, allocations: 16.7 kB / 0.537 GB, free: 6.957 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches