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.001146/0.001146, 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.001163/0.001163, 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.265/0.265, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4592, allocations: 60.81 MB / 0.5185 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003694/0.463, allocations: 1.724 MB / 0.5202 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.4645, allocations: 0.8752 MB / 0.5211 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.4646, allocations: 1.156 kB / 0.5211 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.465, allocations: 49.16 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.4652, allocations: 66.03 kB / 0.5212 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4655, allocations: 106.2 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.4657, allocations: 120.8 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4658, allocations: 21 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.4659, allocations: 48.98 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.466, allocations: 51.5 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4661, allocations: 5.406 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4662, allocations: 60.23 kB / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.4662, allocations: 30.52 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.4663, allocations: 37.03 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4665, allocations: 146.8 kB / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4665, allocations: 0 / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4665, allocations: 0 / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4666, allocations: 3.938 kB / 0.5218 GB, free: 1.195 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.0005053/0.4671, allocations: 440.1 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4671, allocations: 9.094 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.4671, allocations: 42.3 kB / 0.5222 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.4672, allocations: 10.66 kB / 0.5222 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.4675, allocations: 218.7 kB / 0.5225 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4675, allocations: 7.219 kB / 0.5225 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4675, allocations: 7.078 kB / 0.5225 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4677, allocations: 75.19 kB / 0.5225 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.4677, allocations: 3.906 kB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4677, allocations: 0.6094 kB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4678, allocations: 2.312 kB / 0.5225 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4679, allocations: 43.16 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.4683, allocations: 315.7 kB / 0.5229 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4686, allocations: 87.91 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.4687, allocations: 34.11 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.4687, allocations: 2.734 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.4689, allocations: 78.73 kB / 0.5231 GB, free: 4 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4689, allocations: 0 / 0.5231 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008815/0.4698, allocations: 303.7 kB / 0.5234 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.4698, allocations: 62.31 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.47, allocations: 190.3 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.47, allocations: 28.75 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.4701, allocations: 103.8 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.4702, allocations: 43.08 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.4702, allocations: 29.02 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4703, allocations: 327.6 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.4704, allocations: 34.73 kB / 0.5242 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.4705, allocations: 67.55 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4707, allocations: 98.55 kB / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4707, allocations: 0 / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002566/0.471, allocations: 151.3 kB / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.471, allocations: 4.906 kB / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.471, allocations: 0 / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.471, allocations: 6.062 kB / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.4711, allocations: 36.27 kB / 0.5245 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4712, allocations: 2.453 kB / 0.5245 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.4712, allocations: 1.969 kB / 0.5245 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4712, allocations: 3.75 kB / 0.5245 GB, free: 14.96 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.0001167/0.4713, allocations: 128.2 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4714, allocations: 15.14 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.4714, allocations: 21.38 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4714, allocations: 5.656 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4715, allocations: 4 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4715, allocations: 2.641 kB / 0.5247 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.4721, allocations: 487.4 kB / 0.5251 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4721, allocations: 0.7969 kB / 0.5251 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.4722, allocations: 17.48 kB / 0.5252 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4722, allocations: 2.453 kB / 0.5252 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4722, allocations: 10.7 kB / 0.5252 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4722, allocations: 5.156 kB / 0.5252 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4722, allocations: 6.25 kB / 0.5252 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4726, allocations: 252.1 kB / 0.5254 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.4726, allocations: 89.53 kB / 0.5255 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.4727, allocations: 7.172 kB / 0.5255 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.4727, allocations: 7.953 kB / 0.5255 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4728, allocations: 12.39 kB / 0.5255 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4728, allocations: 6.828 kB / 0.5255 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4729, allocations: 139.7 kB / 0.5257 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4729, allocations: 0 / 0.5257 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.4732, allocations: 31.84 kB / 0.5257 GB, free: 14 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.001738/0.475, allocations: 1.21 MB / 0.5269 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4752, allocations: 99.28 kB / 0.527 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4753, allocations: 0 / 0.527 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4754, allocations: 55.05 kB / 0.527 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4758, allocations: 35.09 kB / 0.5271 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4781, allocations: 1.829 MB / 0.5289 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4784, allocations: 0.7173 MB / 0.5296 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.4785, allocations: 26.89 kB / 0.5296 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.4786, allocations: 42.94 kB / 0.5296 GB, free: 10.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4786, allocations: 0 / 0.5296 GB, free: 10.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.5008, allocations: 4.032 MB / 0.5336 GB, free: 8.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/8.01, allocations: 18.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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