Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 75.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.381, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003426/0.3844, allocations: 1.691 MB / 0.5327 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3863, allocations: 1.001 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3865, allocations: 1.188 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.3869, allocations: 62.92 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.3873, allocations: 105.5 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3875, allocations: 73.86 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.3877, allocations: 107.4 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.651e-05/0.3878, allocations: 4.359 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3879, allocations: 48.41 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3881, allocations: 48.45 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3881, allocations: 2.75 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3882, allocations: 32.61 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.3883, allocations: 26.72 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3884, allocations: 30.62 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3886, allocations: 110 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3886, allocations: 4 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3886, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3886, allocations: 0 / 0.5343 GB, free: 11.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007646/0.3894, allocations: 409.6 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.3895, allocations: 13.56 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.3895, allocations: 8.969 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.3899, allocations: 217.2 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3899, allocations: 1.75 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3899, allocations: 5.5 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3901, allocations: 43.31 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3901, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3901, allocations: 3.984 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3901, allocations: 5.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.3902, allocations: 12.25 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.3905, allocations: 183.4 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3907, allocations: 55.12 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.064e-05/0.3908, allocations: 23.66 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3908, allocations: 9.359 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.391, allocations: 65.05 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.016e-06/0.391, allocations: 3.984 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003122/0.3913, allocations: 94.64 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3914, allocations: 52.59 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3916, allocations: 196.6 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3916, allocations: 26.73 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.3917, allocations: 104.4 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.3918, allocations: 22.94 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3918, allocations: 21.95 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.392, allocations: 318.2 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.392, allocations: 15.77 kB / 0.5362 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.3921, allocations: 31.98 kB / 0.5362 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3922, allocations: 44.22 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3922, allocations: 7.984 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.3924, allocations: 83.16 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3924, allocations: 5.406 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3924, allocations: 0 / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3924, allocations: 1 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.3925, allocations: 17.47 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3925, allocations: 1.094 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3926, allocations: 10.02 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3926, allocations: 2.125 kB / 0.5363 GB, free: 9.098 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 (7): * Single equations (assignments): 7 * 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 9.894e-05/0.3927, allocations: 122.6 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3927, allocations: 13.47 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.3928, allocations: 16.95 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3928, allocations: 1.344 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3928, allocations: 0 / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3928, allocations: 0 / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.393, allocations: 193.8 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.393, allocations: 0 / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.393, allocations: 7.281 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.393, allocations: 1.125 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.393, allocations: 5.062 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.393, allocations: 0 / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.393, allocations: 1.406 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.3932, allocations: 108.7 kB / 0.5368 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3933, allocations: 84.55 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3933, allocations: 1 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.3934, allocations: 13.11 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.3934, allocations: 2.219 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3934, allocations: 2.469 kB / 0.5369 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3936, allocations: 152 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3936, allocations: 0 / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.3938, allocations: 21.97 kB / 0.5371 GB, free: 8.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001045/0.3949, allocations: 411.6 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.3951, allocations: 46.88 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3951, allocations: 1.188 kB / 0.5375 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.3952, allocations: 15.34 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3955, allocations: 36.94 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.3959, allocations: 189.7 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3963, allocations: 0.7044 MB / 0.5384 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.058e-05/0.3964, allocations: 28.09 kB / 0.5384 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3965, allocations: 17.97 kB / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of SimCode: time 1.983e-06/0.3965, allocations: 0 / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of Templates: time 0.00532/0.4018, allocations: 1.501 MB / 0.5399 GB, free: 6.477 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches