Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 114.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.001209/0.00121, allocations: 187 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2237/0.2237, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4408, allocations: 60.82 MB / 0.519 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002811/0.4436, allocations: 1.726 MB / 0.5207 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.445, allocations: 0.8774 MB / 0.5215 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.4451, allocations: 1.438 kB / 0.5215 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.4455, allocations: 88.94 kB / 0.5216 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.4458, allocations: 80.78 kB / 0.5217 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.4461, allocations: 106.9 kB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4463, allocations: 118.9 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4464, allocations: 21.88 kB / 0.5219 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.4465, allocations: 56.22 kB / 0.522 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.4466, allocations: 63.97 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.4466, allocations: 4.375 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.4467, allocations: 63.3 kB / 0.5221 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.4468, allocations: 21.09 kB / 0.5221 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.4469, allocations: 37.91 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.4471, allocations: 138.8 kB / 0.5223 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4471, allocations: 4.938 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4471, allocations: 4 kB / 0.5223 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4471, allocations: 0 / 0.5223 GB, free: 1.758 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000484/0.4476, allocations: 434.2 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4477, allocations: 10.31 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.4477, allocations: 14.56 kB / 0.5227 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.448, allocations: 213.1 kB / 0.523 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.448, allocations: 2.5 kB / 0.523 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.448, allocations: 8.156 kB / 0.523 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.4482, allocations: 69.02 kB / 0.523 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4482, allocations: 0 / 0.523 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4482, allocations: 4.75 kB / 0.523 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4482, allocations: 1.438 kB / 0.523 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.4483, allocations: 21.27 kB / 0.5231 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.4487, allocations: 299.9 kB / 0.5233 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.449, allocations: 69.06 kB / 0.5234 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.449, allocations: 21.31 kB / 0.5234 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4491, allocations: 1.703 kB / 0.5234 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.4492, allocations: 67.08 kB / 0.5235 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.4492, allocations: 0 / 0.5235 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000907/0.4501, allocations: 245.7 kB / 0.5237 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.4502, allocations: 60.5 kB / 0.5238 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4505, allocations: 216.1 kB / 0.524 GB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4505, allocations: 34.98 kB / 0.524 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.4505, allocations: 109 kB / 0.5241 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.4506, allocations: 32.67 kB / 0.5242 GB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.4506, allocations: 28.34 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4508, allocations: 328.2 kB / 0.5245 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.4509, allocations: 34.33 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.451, allocations: 48.19 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4512, allocations: 75.02 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4512, allocations: 1.812 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002241/0.4514, allocations: 128.6 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4514, allocations: 10.28 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4514, allocations: 7.969 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4515, allocations: 2.781 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.4515, allocations: 18.61 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4516, allocations: 5.734 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.4516, allocations: 3.047 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.4516, allocations: 11.88 kB / 0.5248 GB, free: 15.64 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 (13): * Single equations (assignments): 13 * 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.0001231/0.4518, allocations: 132.8 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4518, allocations: 11.42 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.4519, allocations: 22.47 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4519, allocations: 5.375 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4519, allocations: 3.938 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4519, allocations: 2.078 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.4525, allocations: 456.1 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4525, allocations: 1.078 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.4525, allocations: 13.28 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4525, allocations: 2.281 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4526, allocations: 6.344 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4526, allocations: 2.156 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.4526, allocations: 1 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.4529, allocations: 239.7 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.4529, allocations: 85.38 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.453, allocations: 11.38 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.453, allocations: 4 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.4531, allocations: 11.42 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.4531, allocations: 5.281 kB / 0.5258 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4533, allocations: 175.2 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4533, allocations: 0 / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4536, allocations: 31.2 kB / 0.526 GB, free: 14.68 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 (11): * Single equations (assignments): 9 * 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.001146/0.4547, allocations: 0.5109 MB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.455, allocations: 87.12 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.455, allocations: 0 / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.4551, allocations: 42.56 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.4554, allocations: 34.64 kB / 0.5267 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.456, allocations: 277.6 kB / 0.5269 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4563, allocations: 0.7221 MB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.4564, allocations: 18.48 kB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.4564, allocations: 18.48 kB / 0.5277 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4564, allocations: 5.5 kB / 0.5277 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.005306/0.4617, allocations: 2.008 MB / 0.5296 GB, free: 12.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches