Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.001517, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 75.89 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.383, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00342/0.3865, allocations: 1.739 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3885, allocations: 1.01 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3887, allocations: 1.094 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.3891, allocations: 49.03 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.3896, allocations: 102.4 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3898, allocations: 80.42 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3901, allocations: 100.6 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3902, allocations: 6.906 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.3903, allocations: 47.34 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.3904, allocations: 37.81 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3904, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3905, allocations: 39.61 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3906, allocations: 23.62 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.3907, allocations: 39.92 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3909, allocations: 128 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3909, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3909, allocations: 1.375 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3909, allocations: 0 / 0.5344 GB, free: 11.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005656/0.3915, allocations: 430.2 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3915, allocations: 8.25 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.3916, allocations: 10.39 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3919, allocations: 216.6 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3919, allocations: 5.75 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.392, allocations: 6.875 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3922, allocations: 57.98 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3922, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3922, allocations: 1.375 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3922, allocations: 4 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.3923, allocations: 18.98 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.3927, allocations: 296.2 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3929, allocations: 57.88 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.393, allocations: 25.09 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.393, allocations: 1.375 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3932, allocations: 65.14 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3932, allocations: 3.938 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.3937, allocations: 175.2 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3938, allocations: 52.5 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.394, allocations: 211.4 kB / 0.536 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3941, allocations: 30.77 kB / 0.536 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.3941, allocations: 105.4 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3942, allocations: 28.05 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3942, allocations: 20.16 kB / 0.5361 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3944, allocations: 327.1 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.3944, allocations: 23.17 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.3945, allocations: 43.08 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3947, allocations: 59.16 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3947, allocations: 0 / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3949, allocations: 103.7 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3949, allocations: 5.375 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3949, allocations: 0.75 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3949, allocations: 4.891 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.395, allocations: 17.45 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.395, allocations: 5.344 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.3951, allocations: 9.469 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3951, allocations: 3.531 kB / 0.5367 GB, free: 8.848 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.0001104/0.3952, allocations: 127.4 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3953, allocations: 14 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.3953, allocations: 19.25 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3953, allocations: 1.094 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3953, allocations: 0 / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3954, allocations: 9.016 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3958, allocations: 399.7 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3959, allocations: 0 / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.3959, allocations: 8.562 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3959, allocations: 1.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3959, allocations: 9.047 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3959, allocations: 5.062 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.396, allocations: 1.125 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3962, allocations: 212.9 kB / 0.5375 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.3963, allocations: 83.34 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3963, allocations: 6.312 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.3964, allocations: 6.297 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3964, allocations: 7.656 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3965, allocations: 2.656 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.3966, allocations: 159.8 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3966, allocations: 4 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3969, allocations: 28.73 kB / 0.5378 GB, free: 7.871 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.001164/0.3981, allocations: 450.9 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3983, allocations: 66.05 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3983, allocations: 0 / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.3984, allocations: 29.69 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3988, allocations: 28.62 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.3994, allocations: 242.6 kB / 0.5386 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3998, allocations: 0.7068 MB / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.3998, allocations: 18.27 kB / 0.5393 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.3999, allocations: 23.12 kB / 0.5393 GB, free: 6.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3999, allocations: 1.031 kB / 0.5393 GB, free: 6.656 MB / 398.1 MB Notification: Performance of Templates: time 0.00482/0.4047, allocations: 1.746 MB / 0.541 GB, free: 5.773 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches