Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 76.09 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5043, allocations: 62.45 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005351/0.5097, allocations: 1.921 MB / 0.533 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.5125, allocations: 1.124 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.5126, allocations: 6.688 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.5134, allocations: 249.7 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007104/0.5141, allocations: 243.6 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.5146, allocations: 111.3 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.5152, allocations: 269.1 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.5154, allocations: 32.16 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.5157, allocations: 140 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.5161, allocations: 187.9 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.5162, allocations: 9.062 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.5164, allocations: 58.48 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.5166, allocations: 68.84 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.5167, allocations: 99.41 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.5173, allocations: 256.3 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5173, allocations: 3.938 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.141e-06/0.5173, allocations: 4 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.5174, allocations: 3.938 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001229/0.5186, allocations: 0.576 MB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.5187, allocations: 10.16 kB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5188, allocations: 30.66 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.5195, allocations: 299.2 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5195, allocations: 3.875 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.5196, allocations: 17.41 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.5199, allocations: 108.4 kB / 0.5367 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.52, allocations: 5.062 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.52, allocations: 1 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.52, allocations: 2.25 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.5202, allocations: 48.78 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.5211, allocations: 489.6 kB / 0.5373 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.5217, allocations: 122.2 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.5219, allocations: 45.86 kB / 0.5374 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.5219, allocations: 5.125 kB / 0.5374 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.5223, allocations: 117.8 kB / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.5223, allocations: 0 / 0.5375 GB, free: 8.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001918/0.5242, allocations: 0.5095 MB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.5243, allocations: 88.03 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008261/0.5251, allocations: 492.6 kB / 0.5386 GB, free: 7.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.5252, allocations: 35.91 kB / 0.5386 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.5254, allocations: 169.1 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.5255, allocations: 68.75 kB / 0.5388 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.5257, allocations: 42.47 kB / 0.5389 GB, free: 7.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.5259, allocations: 345 kB / 0.5392 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.5261, allocations: 62.31 kB / 0.5393 GB, free: 7.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.5264, allocations: 98.91 kB / 0.5394 GB, free: 7.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.5268, allocations: 160.8 kB / 0.5395 GB, free: 7.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5268, allocations: 4 kB / 0.5395 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006141/0.5275, allocations: 231.7 kB / 0.5398 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5275, allocations: 9.688 kB / 0.5398 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5275, allocations: 5.219 kB / 0.5398 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5275, allocations: 2.469 kB / 0.5398 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.5278, allocations: 49.91 kB / 0.5398 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5278, allocations: 2.438 kB / 0.5398 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.528, allocations: 8.188 kB / 0.5398 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.528, allocations: 11.03 kB / 0.5398 GB, free: 6.941 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002642/0.5283, allocations: 176.8 kB / 0.54 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.5284, allocations: 35.28 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.5285, allocations: 46.3 kB / 0.5401 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5285, allocations: 6.203 kB / 0.5401 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5285, allocations: 1.094 kB / 0.5401 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5286, allocations: 3.984 kB / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.53, allocations: 0.744 MB / 0.5408 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.53, allocations: 1.5 kB / 0.5408 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.5302, allocations: 31.11 kB / 0.5409 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5302, allocations: 2.875 kB / 0.5409 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.5302, allocations: 4.469 kB / 0.5409 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5302, allocations: 2.5 kB / 0.5409 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5303, allocations: 5.125 kB / 0.5409 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.5311, allocations: 432.3 kB / 0.5413 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5312, allocations: 102.6 kB / 0.5414 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.5313, allocations: 15.64 kB / 0.5414 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.5315, allocations: 3.562 kB / 0.5414 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.5316, allocations: 24.98 kB / 0.5414 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.5317, allocations: 12.95 kB / 0.5414 GB, free: 5.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005921/0.5323, allocations: 373.2 kB / 0.5418 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5323, allocations: 192 / 0.5418 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005926/0.5329, allocations: 50.22 kB / 0.5418 GB, free: 5.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001916/0.5348, allocations: 0.5081 MB / 0.5423 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.5354, allocations: 162.5 kB / 0.5425 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5354, allocations: 1.031 kB / 0.5425 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.5357, allocations: 75.34 kB / 0.5426 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.5365, allocations: 71.48 kB / 0.5426 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.5382, allocations: 0.5966 MB / 0.5432 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.5389, allocations: 0.783 MB / 0.544 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.5391, allocations: 49.33 kB / 0.544 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5392, allocations: 33.58 kB / 0.5441 GB, free: 3.836 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5392, allocations: 0 / 0.5441 GB, free: 3.836 MB / 398.1 MB Notification: Performance of Templates: time 0.01017/0.5494, allocations: 3.192 MB / 0.5472 GB, free: 0.9766 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches