Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001461/0.001461, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.688/1.688, 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.2316/0.2316, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.84 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5076, allocations: 60.81 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.006822/0.5145, allocations: 1.719 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.5174, allocations: 0.8767 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.5177, allocations: 1.5 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.5183, allocations: 46.03 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.5188, allocations: 67.34 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.5196, allocations: 114.1 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.52, allocations: 95.78 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.5201, allocations: 7.531 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.5203, allocations: 45.97 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.5205, allocations: 25.62 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.5205, allocations: 3.188 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.5208, allocations: 46.75 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.5209, allocations: 36.98 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.521, allocations: 38.69 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.5215, allocations: 134.4 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.5215, allocations: 0 / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5215, allocations: 2.172 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.5215, allocations: 0 / 0.5221 GB, free: 1.516 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008289/0.5224, allocations: 438.2 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5224, allocations: 8.719 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.5225, allocations: 16.84 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.5228, allocations: 226.2 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5229, allocations: 1.844 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5229, allocations: 11.06 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.5231, allocations: 58.39 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5231, allocations: 0 / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5232, allocations: 1.375 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.5232, allocations: 0.6094 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.5233, allocations: 18.62 kB / 0.5229 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.5238, allocations: 302 kB / 0.5232 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.524, allocations: 60.52 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.5241, allocations: 19.8 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.5241, allocations: 1.188 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.5244, allocations: 69.56 kB / 0.5233 GB, free: 404 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.5244, allocations: 1.062 kB / 0.5233 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007663/0.5251, allocations: 184.1 kB / 0.5235 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.5252, allocations: 60.59 kB / 0.5236 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.5256, allocations: 276.4 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5256, allocations: 31.39 kB / 0.5239 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.5257, allocations: 111.3 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.5258, allocations: 25.83 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.5259, allocations: 26.67 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5261, allocations: 328.6 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.5262, allocations: 21.75 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.5263, allocations: 44 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.5264, allocations: 57.5 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5265, allocations: 4 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002748/0.5267, allocations: 107 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.5268, allocations: 6.281 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5268, allocations: 0.6562 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.5268, allocations: 3.984 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.527, allocations: 16.28 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.527, allocations: 0.5625 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.5271, allocations: 11.05 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5271, allocations: 3 kB / 0.5246 GB, free: 15.43 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 (10): * Single equations (assignments): 10 * 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.000165/0.5273, allocations: 143.4 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.5273, allocations: 15.45 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.5274, allocations: 21.44 kB / 0.5248 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5274, allocations: 0 / 0.5248 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5274, allocations: 3.938 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.5274, allocations: 4.875 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.5281, allocations: 402.9 kB / 0.5252 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5281, allocations: 5.375 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.5282, allocations: 8.859 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5282, allocations: 0.6094 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5282, allocations: 6.25 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.5282, allocations: 1.062 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5282, allocations: 1.766 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.5286, allocations: 210.5 kB / 0.5254 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.5287, allocations: 93.16 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.5287, allocations: 6.953 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.5288, allocations: 2 kB / 0.5255 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.5289, allocations: 10.25 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.529, allocations: 4.594 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003204/0.5293, allocations: 204 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5293, allocations: 1.375 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.5297, allocations: 21.53 kB / 0.5257 GB, free: 14.52 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: 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 (8): * Single equations (assignments): 6 * 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.001592/0.5313, allocations: 483.3 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.5316, allocations: 55.78 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5316, allocations: 0 / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.5318, allocations: 32.52 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.5323, allocations: 31.42 kB / 0.5263 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.5332, allocations: 284.2 kB / 0.5265 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.5337, allocations: 0.7257 MB / 0.5273 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.5338, allocations: 16.86 kB / 0.5273 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.5338, allocations: 16.17 kB / 0.5273 GB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5338, allocations: 0 / 0.5273 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.007609/0.5414, allocations: 1.776 MB / 0.529 GB, free: 12.69 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches