Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 112.8 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.0009791/0.0009791, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.495/1.495, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2299/0.2299, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3825, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002828/0.3854, allocations: 1.716 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3866, allocations: 0.8718 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.3867, allocations: 1.094 kB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.387, allocations: 34.5 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.3873, allocations: 60.59 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3876, allocations: 113.5 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.3877, allocations: 95 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.3878, allocations: 8.062 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.3879, allocations: 46.05 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.388, allocations: 30.19 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.388, allocations: 4.562 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.3881, allocations: 42.91 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3882, allocations: 21.39 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.3883, allocations: 33.81 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3885, allocations: 118.8 kB / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3885, allocations: 0 / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3885, allocations: 0 / 0.5221 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3885, allocations: 1.906 kB / 0.5221 GB, free: 1.547 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.0004306/0.389, allocations: 404.4 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.389, allocations: 12.62 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.389, allocations: 10 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3893, allocations: 202.4 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3893, allocations: 10.84 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3893, allocations: 6.812 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3894, allocations: 57.05 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3895, allocations: 4.938 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3895, allocations: 0.75 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3895, allocations: 5.156 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.3896, allocations: 18.34 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.3899, allocations: 286.8 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.39, allocations: 64.02 kB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.3901, allocations: 19.58 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3901, allocations: 1.125 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.3902, allocations: 66 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.3902, allocations: 4 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004838/0.3907, allocations: 176.9 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3908, allocations: 57.31 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3909, allocations: 186.2 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.3909, allocations: 26.86 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.391, allocations: 99.28 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.391, allocations: 26.62 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.391, allocations: 26.33 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3912, allocations: 330.8 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.3912, allocations: 20.38 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.3913, allocations: 40.47 kB / 0.5242 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3914, allocations: 57.31 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3914, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.3916, allocations: 105.2 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3916, allocations: 5.531 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3916, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3917, allocations: 1.672 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.3918, allocations: 16.22 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3918, allocations: 1.594 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.3918, allocations: 10.45 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3918, allocations: 2.766 kB / 0.5244 GB, free: 15.54 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.0001006/0.3919, allocations: 129.7 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.392, allocations: 17.12 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.392, allocations: 19.22 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.392, allocations: 1.25 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.392, allocations: 2.219 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.392, allocations: 3.938 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.3925, allocations: 393.1 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3925, allocations: 6.641 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.3925, allocations: 7.219 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3925, allocations: 6.109 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3926, allocations: 6.625 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3926, allocations: 0 / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3926, allocations: 2.453 kB / 0.5249 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3928, allocations: 200 kB / 0.5251 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3928, allocations: 84.08 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3929, allocations: 10.03 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.3929, allocations: 12.11 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.393, allocations: 5.719 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.393, allocations: 3.641 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.3931, allocations: 143.6 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3931, allocations: 0 / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3934, allocations: 26.02 kB / 0.5254 GB, free: 14.65 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.0009965/0.3944, allocations: 475.6 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3946, allocations: 55.31 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3946, allocations: 0 / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.3947, allocations: 28.55 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.395, allocations: 30.59 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.3954, allocations: 226.3 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3957, allocations: 0.7048 MB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.3958, allocations: 17.72 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3958, allocations: 19.53 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3958, allocations: 1.375 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004282/0.4001, allocations: 1.706 MB / 0.5286 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches