Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001137/0.001137, allocations: 105.5 kB / 17.77 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.001499/0.001499, allocations: 188.8 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2569/0.2569, allocations: 44.17 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.83 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4603, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00415/0.4645, allocations: 1.911 MB / 0.5203 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4664, allocations: 0.9236 MB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.4665, allocations: 2.25 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.4669, allocations: 42.31 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.4673, allocations: 62.09 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.4677, allocations: 130.3 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.468, allocations: 139.1 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4681, allocations: 29.22 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4683, allocations: 56.52 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4684, allocations: 49.38 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.4685, allocations: 5.969 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4686, allocations: 46.41 kB / 0.5218 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.4687, allocations: 27.25 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.4688, allocations: 53.67 kB / 0.5219 GB, free: 1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.4691, allocations: 151.9 kB / 0.522 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4691, allocations: 4.75 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4691, allocations: 1.156 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4691, allocations: 0 / 0.522 GB, free: 0.9297 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.0006151/0.4698, allocations: 469 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4698, allocations: 13.81 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.4699, allocations: 39.47 kB / 0.5225 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.4699, allocations: 15.47 kB / 0.5225 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.4702, allocations: 233.9 kB / 0.5228 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4703, allocations: 10.5 kB / 0.5228 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4703, allocations: 10.27 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.4706, allocations: 109.6 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4706, allocations: 0 / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4706, allocations: 1.312 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4706, allocations: 2.125 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.4708, allocations: 55.44 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.4716, allocations: 0.4912 MB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.4719, allocations: 95.23 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4721, allocations: 41.44 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4721, allocations: 1.875 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.4724, allocations: 81.31 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.767e-06/0.4724, allocations: 0 / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004759/0.4729, allocations: 147.7 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.4729, allocations: 61.17 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4732, allocations: 191.2 kB / 0.524 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4732, allocations: 27.14 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4733, allocations: 111.7 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4734, allocations: 34.2 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.4734, allocations: 28.66 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4736, allocations: 331.7 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.4737, allocations: 28.69 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4738, allocations: 59.22 kB / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.474, allocations: 105.1 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4741, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002977/0.4744, allocations: 133.1 kB / 0.5248 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4744, allocations: 9.219 kB / 0.5248 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4744, allocations: 1.812 kB / 0.5248 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4744, allocations: 13.69 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4745, allocations: 21.81 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4746, allocations: 5.875 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.4746, allocations: 11.19 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4747, allocations: 8.516 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.0001437/0.4748, allocations: 135.2 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4748, allocations: 15.47 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.636e-05/0.4749, allocations: 15.88 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4749, allocations: 8.969 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4749, allocations: 1.062 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4749, allocations: 0.75 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.4751, allocations: 206.4 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4752, allocations: 0 / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.4752, allocations: 11.22 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4752, allocations: 2.25 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.4753, allocations: 6.172 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4753, allocations: 3.938 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4753, allocations: 0 / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.4757, allocations: 183 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.4757, allocations: 89.11 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.4758, allocations: 2.312 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.4758, allocations: 10.86 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4759, allocations: 14.55 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4759, allocations: 6.328 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4761, allocations: 142.5 kB / 0.5257 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4761, allocations: 3.938 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4763, allocations: 29.98 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.001604/0.4779, allocations: 1.017 MB / 0.5267 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.4782, allocations: 78.84 kB / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4783, allocations: 0 / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4784, allocations: 38.67 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.0003096/0.4787, allocations: 41.45 kB / 0.5269 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.4812, allocations: 1.718 MB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4816, allocations: 0.7218 MB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.4817, allocations: 23.81 kB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.4818, allocations: 41.05 kB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4818, allocations: 384 / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.5071, allocations: 3.834 MB / 0.5331 GB, free: 9.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.145, allocations: 12.27 kB / 0.5331 GB, free: 9.043 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches